|
| 1 | +# bunq Java SDK |
| 2 | + |
| 3 | +## Introduction |
| 4 | +Hi developers! |
| 5 | + |
| 6 | +Welcome to the bunq Java SDK integration tests. Currently we are not |
| 7 | +targeting the 100% test coverage, but rather want to be certain that the most |
| 8 | +common scenarios can run without any errors. |
| 9 | + |
| 10 | +## Scenarios |
| 11 | +These are the scenarios that are currently being tested: |
| 12 | +* Create installation, session-server and device server |
| 13 | +* Create a new MonetaryAccount |
| 14 | +* Create a tab |
| 15 | +* Update the tab |
| 16 | +* Create attachment and avatar |
| 17 | +* Request money from first MA to second MA |
| 18 | +* Accept the request |
| 19 | +* Make a transaction from first MA to second MA |
| 20 | +* Create connect gr code |
| 21 | +* Make a payment to another sandbox user |
| 22 | +* Send a chat message in a recent payment |
| 23 | +* Delete the current session |
| 24 | +* Order a card with a second line |
| 25 | + |
| 26 | +Besides these scenarios, some code of ApiContext, ApiClient and the JSON module |
| 27 | +are also tested :thumbs_up:. |
| 28 | + |
| 29 | +## Configuration |
| 30 | +To run the tests you must first setup the test configuration JSON. The example |
| 31 | +of a configuration file is located at [`src/test/config.example.properties`](./config.example.properties). |
| 32 | +In order to make use of the configuration file, please copy the example to the |
| 33 | +same directory, fill in your sandbox user data and rename the copy to `config.properties`. |
| 34 | + |
| 35 | +## Execution |
| 36 | +To run tests via IntelliJ IDEA, you must make sure that you've build the project with gradle. |
| 37 | + |
| 38 | +Afterwards you can right click on the tests folders and should be able to run |
| 39 | +the tests cases form the IDE. |
0 commit comments