-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Romain LE BARO edited this page Jan 20, 2016
·
1 revision
You will find into this wiki the documentation to start using Fusion and examples of commons codes and configurations.
Tatami can be used the eitherin a test package inside your project (useful for gradle or maven project), or in a test project apart. For the rest of this article, an external test project will be used. Start by creating a Java SE test project and import the Tatami jar on the file server. Then create the following structure for your test project.
Test
--src
----conf
------TestWorker
------TestTester
----dbunit
----suites
--flatXmlDataSet
----common
----distinct
----init
--scenarii
--fusion.properties
-
conf package : Contains classes to customize your Fusion
- TestWorker : Customizes access and operations on the database.
- TestTester : Customizes cucumber test methods in order to adapt the project to be tested.
- suites package: Contains all test suites.
-
flatXmlDataSet: Contains XML files for loading test data in a database.
- commun : XML files containing data common to all tests.
- distinct : Xml file containing the data specific to each test.
- init : Xml files containing the data to reset the database to its original state.
- scenarii : Contains cucumber test cases.
- fusion.properties : Fusion configuration file