This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/packages/plunit
2009-12-04 10:59:38 +00:00
..
examples simple should run tests when loading plunit. 2009-12-04 10:59:38 +00:00
ChangeLog port of SWI-Prolog's plunit. 2009-11-23 10:55:10 +00:00
Makefile.in port of SWI-Prolog's plunit. 2009-11-23 10:55:10 +00:00
plunit.doc port of SWI-Prolog's plunit. 2009-11-23 10:55:10 +00:00
plunit.pl better support for plunit, and don't trust SWI flags (use SICStus flags). 2009-12-04 00:35:37 +00:00
README port of SWI-Prolog's plunit. 2009-11-23 10:55:10 +00:00
test_cover.pl port of SWI-Prolog's plunit. 2009-11-23 10:55:10 +00:00
test_wizard.pl port of SWI-Prolog's plunit. 2009-11-23 10:55:10 +00:00

Prolog Unit Tests
=================


---++ TBD

	* Add options to test units
		- Condition, setup, cleanup, blocked [OK]
	* Run the tests on make, etc.  [OK]
	* Report generation options

---++ What to do with loaded tests?

	* Keep them around
	* Remove them
	* Flag module as `volatile', so it is not saved.

---++ Distinguish user/system/library tests

---++ Deal with seperate test-files:

	* load_test_files(+Options)

---++ Volatile modules?

---++ Conversion of system tests:

	- test.pl internals [OK]
	- scripts called from test.pl [OK]
	- tests for packages

---++ Run tests concurrently?

	+ Tests applications for concurrent execution
	+ Saves time, notably on tests doing networking, timeout, etc.
	- Might be more complicated to understand

---++ Test wizard

	* Write tests to .plt files
	* Merge with existing content of .plt files
		- Read with comments and write back?

---++ Coverage analysis

	* See cover.pl