Project

General

Profile

Segnalazione #151

Aggiungere test minimali

Added by Mark Caglienzi almost 5 years ago. Updated over 4 years ago.

Status:
In elaborazione
Priority:
Normale
Start date:
01/18/2017
Due date:
% Done:

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

Revision 13c0e70e (diff)
Added by Mark Caglienzi over 4 years ago

Add minimal test for host:host_edit. refs: #151

Revision e980d439 (diff)
Added by Mark Caglienzi over 4 years ago

Add test for group_detail and refactor the class. refs: #151

Revision d8afde0f (diff)
Added by Mark Caglienzi over 4 years ago

Add tests for group_create. refs: #151

Revision 36d12b49 (diff)
Added by Mark Caglienzi over 4 years ago

Add tests for actions_ajax for group and host. refs: #151

Revision f0fd1738 (diff)
Added by Mark Caglienzi over 4 years ago

Add tests for action_ajax. refs: #151

Revision 40a29138 (diff)
Added by Mark Caglienzi over 4 years ago

Add tests for action_ajax for cluster. refs: #151

Revision 3e1e8e03 (diff)
Added by Mark Caglienzi over 4 years ago

Add tests for action_completion_ajax. refs: #151

Revision e737bc7f (diff)
Added by Mark Caglienzi over 4 years ago

Remove prints. refs: #151

Revision cefe83e2 (diff)
Added by Mark Caglienzi over 4 years ago

Add asterisk testsuite. refs: #151

Revision 30cc8652 (diff)
Added by Mark Caglienzi over 4 years ago

Fix test. refs: #151

Revision 416c418d (diff)
Added by Mark Caglienzi over 4 years ago

Add launch_testsuite oneliner. refs: #151

Revision 3677efc5 (diff)
Added by Mark Caglienzi over 4 years ago

Add auth minimal tests. refs: #151

Revision 8bfac524 (diff)
Added by Mark Caglienzi over 4 years ago

Add firewall minimal tests. refs: #151

Revision 7c7bf6ec (diff)
Added by Mark Caglienzi over 4 years ago

Cleanup. refs: #151

Revision 7d41cf21 (diff)
Added by Mark Caglienzi over 4 years ago

If there are no configured hosts, calling sort() will raise an exception. Bug caught during test writing. refs: #151

Revision 3222b745 (diff)
Added by Mark Caglienzi over 4 years ago

Add printer tests. refs: #151

Revision 6aa49937 (diff)
Added by Mark Caglienzi over 4 years ago

Add two FIXME in the code. refs: #151

Revision ca6a9df5 (diff)
Added by Mark Caglienzi over 4 years ago

Add support for commandline options. refs: #151

Revision 737a2400 (diff)
Added by Mark Caglienzi over 4 years ago

Fix asterisk testsuite after b0f11897 found thanks to git bisect. refs: #151

Revision b3554351 (diff)
Added by Mark Caglienzi over 4 years ago

Add a test to asterisk testsuite. refs: #151

Revision 9d0872a6 (diff)
Added by Mark Caglienzi over 4 years ago

Fix auth testsuite. refs: #151

Revision 4b0dbcc3 (diff)
Added by Mark Caglienzi over 4 years ago

Check all possibilities. refs: #151

Revision a10f8da2 (diff)
Added by Mark Caglienzi over 4 years ago

Fix auth testsuite. refs: #151

Revision 65ff3bdb (diff)
Added by Mark Caglienzi over 4 years ago

Add another test in auth testsuite. refs: #151

Revision fcec6c40 (diff)
Added by Mark Caglienzi over 4 years ago

Fix dansguardian testsuite. refs: #151

Revision a4546c52 (diff)
Added by Mark Caglienzi over 4 years ago

Add another test for dansguardian. refs: #151

Revision 882db462 (diff)
Added by Mark Caglienzi over 4 years ago

Fix dhcp testsuite and add another test. refs: #151

Revision 9c9ccb55 (diff)
Added by Mark Caglienzi over 4 years ago

Fix firewall testsuite and add a test. refs: #151

Revision ddefb3ee (diff)
Added by Mark Caglienzi over 4 years ago

Fix a half errors in host testsuite. refs: #151

Revision 49414c7e (diff)
Added by Mark Caglienzi over 4 years ago

Fix a test. refs: #151

Revision 9fdb1109 (diff)
Added by Mark Caglienzi over 4 years ago

Skip this test. refs: #151

Revision 737033ac (diff)
Added by Mark Caglienzi over 4 years ago

Fix host testsuite. refs: #151

Revision 19d0f450 (diff)
Added by Mark Caglienzi over 4 years ago

Fix hostqueue testsuite and add a test. refs: #151

Revision 65e02596 (diff)
Added by Mark Caglienzi over 4 years ago

Fix test. refs: #151

Revision 74a5e99f (diff)
Added by Mark Caglienzi over 4 years ago

Fix printers testsuite and skip a test that has to be completed. refs: #151

Revision 68b92b29 (diff)
Added by Mark Caglienzi over 4 years ago

This is the test to skip. refs: #151

Revision cf41f0d7 (diff)
Added by Mark Caglienzi over 4 years ago

Fix upgrade testsuite. refs: #151

Revision 3e275d78 (diff)
Added by Mark Caglienzi over 4 years ago

Initial quota tests. Not working. refs: #151

Revision bfa66f72 (diff)
Added by Mark Caglienzi over 4 years ago

Fix quota tests. refs: #151

Revision 4cc7b5b6
Added by Mark Caglienzi over 4 years ago

Merge branch 'master' into t151. refs: #151

Revision 5e319959 (diff)
Added by Mark Caglienzi over 4 years ago

Add a couple of test for quota. refs: #151

Revision 670b1abc (diff)
Added by Mark Caglienzi over 4 years ago

Add tests for samba app. refs: #151

Revision fb550e3e (diff)
Added by Mark Caglienzi over 4 years ago

Initial tests for the users app. refs: #151

Revision 4f4dbd9b (diff)
Added by Mark Caglienzi over 4 years ago

Add some more tests for users. refs: #151

Revision 1f21a10a (diff)
Added by Mark Caglienzi over 4 years ago

Rename. refs: #151

Revision d75e5749 (diff)
Added by Mark Caglienzi over 4 years ago

FINALLY get a working test for user_detail. refs: #151

Revision 21cbb188 (diff)
Added by Mark Caglienzi over 4 years ago

Add another test. refs: #151

Revision 2e9aca74 (diff)
Added by Mark Caglienzi over 4 years ago

Add another test, not working at the moment...the test gives 200 and not 302 like the webapp itself... refs: #151

Revision 0401f443 (diff)
Added by Mark Caglienzi over 4 years ago

Better comment. refs: #151

Revision b415b646 (diff)
Added by Mark Caglienzi over 4 years ago

This does not work in a clean way. refs: #151

Revision 10e3014c (diff)
Added by Mark Caglienzi over 4 years ago

Add a test. refs: #151

Revision 539a3821 (diff)
Added by Mark Caglienzi over 4 years ago

Added 2 tests. refs: #151

Revision ac2cdc18 (diff)
Added by Mark Caglienzi over 4 years ago

Add 2 tests for UserSetEnabled. refs: #151

Revision 22475933 (diff)
Added by Mark Caglienzi over 4 years ago

Accept only POST. refs: #151

Revision e1f999d8 (diff)
Added by Mark Caglienzi over 4 years ago

Add 2 tests for UserAddGroup. refs: #151

Revision be402f23 (diff)
Added by Mark Caglienzi over 4 years ago

Accept only POST. refs: #151

Revision efc9d693 (diff)
Added by Mark Caglienzi over 4 years ago

Add 2 tests for UserDelete. refs: #151

Revision 031e8897 (diff)
Added by Mark Caglienzi over 4 years ago

Add test for GroupList. refs: #151

Revision a921c526 (diff)
Added by Mark Caglienzi over 4 years ago

Add three tests for GroupCreate. refs: #151

Revision 8933b01a (diff)
Added by Mark Caglienzi over 4 years ago

Add 2 skipped tests for GroupDetail (not working because of MockTree). refs: #151

Revision 7ce6d44c (diff)
Added by Mark Caglienzi over 4 years ago

Add other two tests, but skipped also. refs: #151

Revision b221943f (diff)
Added by Mark Caglienzi over 4 years ago

Add 2 tests for csvimport. refs: #151

Revision e9374d08 (diff)
Added by Mark Caglienzi over 4 years ago

Add 2 tests for csvimport_ajax. refs: #151

Revision 817deef9 (diff)
Added by Mark Caglienzi over 4 years ago

Add 2 tests for masscreate. refs: #151

Revision e083bbbe (diff)
Added by Mark Caglienzi over 4 years ago

Add two tests for massedit. refs: #151

Revision 68add24f (diff)
Added by Mark Caglienzi over 4 years ago

Add two tests for processldif. refs: #151

Revision 15882bae (diff)
Added by Mark Caglienzi over 4 years ago

Add comment in users/tests.py. refs: #151

Revision e8037d5b (diff)
Added by Mark Caglienzi over 4 years ago

Add script/tests.py, with some working tests and some commented experiments that do not work. refs: #151

Revision bbcc7eb5 (diff)
Added by Mark Caglienzi over 4 years ago

If no runs... refs: #151

Revision 0ecfd222 (diff)
Added by Mark Caglienzi over 4 years ago

Add other tests, one erroring and one not...And self.tree is not easy to make... refs: #151

Revision fed93248 (diff)
Added by Mark Caglienzi over 4 years ago

Add minimal tests for the new dhcp views. refs #244 #151

History

#1 Updated by Mark Caglienzi over 4 years ago

  • Status changed from Nuovo to In elaborazione

#2 Updated by Mark Caglienzi over 4 years ago

fb550e3e:
  • 126 test (2 skipped)

Testsuite attualmente work in progress: app users.

Codice pushato nel branch

#3 Updated by Mark Caglienzi over 4 years ago

Stato a ca18e56a:
  • 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

Also available in: Atom PDF