Skip to content

Commit c7c179a

Browse files
authored
Merge pull request #3 from bunq/feature/test_readme
Added tests readme
2 parents 4a5f74f + 35d94fc commit c7c179a

File tree

2 files changed

+43
-1
lines changed

2 files changed

+43
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# bunq Java SDK
2-
Version 0.9.0 **BETA**
32

43
## Introduction
54
Hi developers!
@@ -169,3 +168,7 @@ IDE.
169168

170169
Please do not forget to set the `API_KEY` constant in `ApiContextSaveExample.java` to your actual
171170
API key before running the example!
171+
172+
## Running tests
173+
Information regarding the test cases can be found in the [README.md](./src/test/README.md)
174+
located in [test](/src/test).

src/test/README.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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

Comments
 (0)