Hi,
I wrote a SimpleTest script for nat.
There are three tests:
1. The settings page. If it works or not.
2. Node creation with body set as term description and delete terms on node delete set
3. Node creation with no description for the terms, no term deletion and some synonyms and relations set.
I had to split this up in three tests because of the static caching of NAT settings.
Otherwise I believe this test is straight and tests to the point if NAT's basic features are working or not.
One thing still should be added: Views testing.
Currently this exceeds my time as a test for the views links demands to build up some nodes and at least import a view to check if the links are pointing in the right direction.
| Comment | File | Size | Author |
|---|---|---|---|
| nat_simpletest_v01.patch | 10.48 KB | kars-t |
Comments
Comment #1
anantagati commentedI am not expert on SimpleTest, but looks good to me.
Comment #2
anantagati commentedThank you for patch. Committed.