ChristianMurphy / nicest

nicely integrating complex education software together
MIT License
2 stars 3 forks source link

Software Testing #438

Open nelsontran opened 7 years ago

nelsontran commented 7 years ago

It seems that the only tests that we have for Nicest are the static linting tools. It would be a good idea to begin writing unit and regression tests. Are there any testing frameworks that would be preferable to use?

ChristianMurphy commented 7 years ago

Additional testing would be great :+1: Because Nicest is external integration driven, you may find there isn't as clear of a unit testing surface as a self enclosed software system. If you do want to try unit tests, AVA and Proxyquire are a good mix.

Integration testing would work better. Automated click testing would be the easiest route, using Nightmare with Chai. Software behavior driven integration testing could be done too, it was tried earlier in the project, but didn't seem to be a good fit.