You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a proposal to design and develop a test suite for Genesis. How the test suite will be designed is open for discussion, but I my suggestion is to start with core integration testing, with separate test files for each file/module. Later on there can be discussion of UI testing with Selenium.
Decisions
What testing framework to use?
My favourite is py.test, but I have heard nose is good as well.
Where to put the test suite?
Pretty much up to @jacook, but I suggest in genesis in a directory named "tests"
What to start with, testing wise?
Integration testing on the API (genesis.api) and the Plugin API (genesis.plugins.core) is probably the best place to start. But quickly, everything in mentioned in the documentation should be tested.
more to be added soon.
The text was updated successfully, but these errors were encountered:
If you prefer py.test then I see no reason not to use that.
The directory can be genesis/tests, that's fine
If you want to get the testing framework started then feel free and I can help build on it from there as needed. Like I said I don't have much experience with it so perhaps a little shove in the right direction would be helpful :)
If you want to get the testing framework started then feel free and I can help build on it from there as needed. Like I said I don't have much experience with it so perhaps a little shove in the right direction would be helpful :)
Sounds good. I will get started on this once I have my Raspberry Pi and have set-up a development environment of testing Genesis. @jacook: If you have any suggestions for setting up a testing environment for Genesis, please either post them here or send me an email.
For now I'm putting this at 1.0 but depending on how much work is required then that can be adjusted when it becomes clear.
Having at least the beginnings of a test suite will be important for 1.0 I believe, but we will just have to see how things good.
Only took me three years, but a testing framework is set up in the Core library, and I started by writing some tests for LDAP integration. All that remains is to write tests for everything else ;)
This is a proposal to design and develop a test suite for Genesis. How the test suite will be designed is open for discussion, but I my suggestion is to start with core integration testing, with separate test files for each file/module. Later on there can be discussion of UI testing with Selenium.
Decisions
more to be added soon.
The text was updated successfully, but these errors were encountered: