Skip to content

Strategies to test an application using Laravel-MongoDB #23

Closed
@thylo

Description

@thylo

Hi,

Thanks for your module, it look very promising.
I'm pretty new to the testing world so I was just wondering how you would do integration tests on an application using your module.

Laravel tools like migration and seeding are not quite relevant with MongoDB.

What I would do is to set up a test db, flush it before each test, and then use something like https://github.com/Zizaco/factory-muff to populate my test db with some fake models.

What is your strategy on that matter ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions