Attendize / Attendize

Attendize is an open-source ticket selling and event management platform built on Laravel.
https://www.attendize.com
Other
4.02k stars 1.19k forks source link

Acceptance functional unit tests #506

Open heilgar opened 6 years ago

heilgar commented 6 years ago

hi all, is make sense to add codeception as test framework ? firstly for ui testing

Often after update from master branch I need to check all screens to find some errors?

If it will be useful I can add pull request

heilgar commented 6 years ago

and if not, just close that issues

jeremyquinton commented 6 years ago

@heilgar Attendize does need tests.

When I joined the project as a maintainer it had very few tests. I have given it lots of thought and its one of the items that I want to improve upon. The current test suite doesn't even run which isn't great but I am in the process of trying to get that going again.

I think a very good start could be to test the controllers as this can give us decent coverage on important areas and a decent level of integration testing. An example of such test. https://github.com/Attendize/Attendize/blob/master/tests/EventTest.php

For front-end testing I was thinking we could use maybe use https://www.cypress.io for full end to end tests on important areas of the codebase.

Once I have more info I will update this ticket. If you find a bug after updating please submit it so we can fix it.

Link https://github.com/Attendize/Attendize/issues/36 as its related