The combination of Spock framework and AssertJ Swing is a fitting solution for automated testing of Freeplane. Spock Framework uses Groovy to define test specification. It allows a proper structure and documentation of the test cases. It enables access to the Freeplan API and AssertJ Swing enables acces to the Freeplane GUI. In that way it is suitable for acceptance testing. At the same time it also enables unit and integration testing with stubs and mocks (that is where it is actually meant for). This also facilitates test driven development.
This task aims to track actions and wishes with regard to implementing automated testing with Spock framework.
Todo
Check if I can select a node through the Freeplane API -> yes:c.select(Node)Make separate test configurations for acceptance test and test libraryWishlist
Last edit: Henk van den Akker 2024-11-17