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.

CommentFileSizeAuthor
nat_simpletest_v01.patch10.48 KBkars-t

Comments

anantagati’s picture

Status: Needs review » Reviewed & tested by the community

I am not expert on SimpleTest, but looks good to me.

anantagati’s picture

Status: Reviewed & tested by the community » Fixed

Thank you for patch. Committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.