Closed (fixed)
Project:
Tripletex
Version:
6.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
28 Feb 2012 at 07:51 UTC
Updated:
16 Mar 2012 at 15:20 UTC
We need to set up a test framework for this module and add tests as we complete features.
Discussions on how to do this without the integration to Tripletex needs to go here.
Comments
Comment #1
reswild commentedI can perhaps set up a JSON server that we can use for testing. I'll look into it.
Comment #2
stenjo commentedNot sure of the benefit from that. You then have to create responses identical to what Tripletex is providing now. Might be a better way to agree with Tripletex on a more permanent test account that does not expire in 30 days as all free ones does.
Comment #3
stenjo commentedJust committed the framework for testing through tripletex.test file. Very plain and narrow test so far: Just testing if the settings page is available when logged in.
Comment #4
stenjo commentedHave approached Tripletex to ask for a more permanent testing interface for the automatic tests to be run.
Comment #5
stenjo commentedTesting framework is now in place.
I suggest we make it an habit of adding a new test to the
tripletex.testfile every time we add a feature or solve an issue in this queue. This way we will continually increase the test coverage and make sure the test is up-to-date.I suggest adding something like this:
Comments and suggestions are welcome