Segnalazione #151
Aggiungere test minimali
0%
Description
Almeno un test per view che verifichi che la view risponda e che non ci siano errori tipo HTTP 500 (per evitare problemi di template, o di context con dati mancanti, eccetera)
Associated revisions
Add test for group_detail and refactor the class. refs: #151
Add tests for group_create. refs: #151
Add tests for actions_ajax for group and host. refs: #151
Add tests for action_ajax. refs: #151
Add tests for action_ajax for cluster. refs: #151
Add tests for action_completion_ajax. refs: #151
Remove prints. refs: #151
Add asterisk testsuite. refs: #151
Fix test. refs: #151
Add launch_testsuite oneliner. refs: #151
Add auth minimal tests. refs: #151
Add firewall minimal tests. refs: #151
Cleanup. refs: #151
If there are no configured hosts, calling sort() will raise an exception. Bug caught during test writing. refs: #151
Add printer tests. refs: #151
Add two FIXME in the code. refs: #151
Add support for commandline options. refs: #151
Add a test to asterisk testsuite. refs: #151
Fix auth testsuite. refs: #151
Check all possibilities. refs: #151
Fix auth testsuite. refs: #151
Add another test in auth testsuite. refs: #151
Fix dansguardian testsuite. refs: #151
Add another test for dansguardian. refs: #151
Fix dhcp testsuite and add another test. refs: #151
Fix firewall testsuite and add a test. refs: #151
Fix a half errors in host testsuite. refs: #151
Fix a test. refs: #151
Skip this test. refs: #151
Fix host testsuite. refs: #151
Fix hostqueue testsuite and add a test. refs: #151
Fix test. refs: #151
Fix printers testsuite and skip a test that has to be completed. refs: #151
This is the test to skip. refs: #151
Fix upgrade testsuite. refs: #151
Initial quota tests. Not working. refs: #151
Fix quota tests. refs: #151
Merge branch 'master' into t151. refs: #151
Add a couple of test for quota. refs: #151
Add tests for samba app. refs: #151
Typo. refs: #151
Initial tests for the users app. refs: #151
Add some more tests for users. refs: #151
Rename. refs: #151
FINALLY get a working test for user_detail. refs: #151
Add another test. refs: #151
Add another test, not working at the moment...the test gives 200 and not 302 like the webapp itself... refs: #151
Better comment. refs: #151
This does not work in a clean way. refs: #151
Add a test. refs: #151
Added 2 tests. refs: #151
Add 2 tests for UserSetEnabled. refs: #151
Accept only POST. refs: #151
Add 2 tests for UserAddGroup. refs: #151
Accept only POST. refs: #151
Add 2 tests for UserDelete. refs: #151
Add test for GroupList. refs: #151
Add three tests for GroupCreate. refs: #151
Add 2 skipped tests for GroupDetail (not working because of MockTree). refs: #151
Add other two tests, but skipped also. refs: #151
Add 2 tests for csvimport. refs: #151
Add 2 tests for csvimport_ajax. refs: #151
Add 2 tests for masscreate. refs: #151
Add two tests for massedit. refs: #151
Add two tests for processldif. refs: #151
Add comment in users/tests.py. refs: #151
Add script/tests.py, with some working tests and some commented experiments that do not work. refs: #151
If no runs... refs: #151
Add other tests, one erroring and one not...And self.tree is not easy to make... refs: #151
History
Updated by Mark Caglienzi over 7 years ago
- 126 test (2 skipped)
Testsuite attualmente work in progress: app users.
Codice pushato nel branch
Updated by Mark Caglienzi over 7 years ago
- 161 test
- 6 skipped
- I test skippati sono quelli che non son riuscito a far funzionare (rispetto a MockTree)
- Mancano dei test per delle view di users (quelle di group principalmente), e dell'app script.
Test mergiati in master, per mantenere le cose piuttosto in sync
Add minimal test for host:host_edit. refs: #151