Skip to content

Commit ed6142a

Browse files
committed
Merge branch 'release-0.9.1'
2 parents 4a5f74f + 5c37b1a commit ed6142a

File tree

4 files changed

+45
-3
lines changed

4 files changed

+45
-3
lines changed

README.md

+4-1
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).

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
group 'com.bunq.sdk'
2-
version '0.9.0'
2+
version '0.9.1'
33

44
apply plugin: 'java'
55
sourceCompatibility = 1.8

src/main/java/com/bunq/sdk/http/ApiClient.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public class ApiClient {
6969
/**
7070
* Prefix for bunq's own headers.
7171
*/
72-
private static final String USER_AGENT_BUNQ = "bunq-sdk-java/0.9.0";
72+
private static final String USER_AGENT_BUNQ = "bunq-sdk-java/0.9.1";
7373
private static final String LANGUAGE_EN_US = "en_US";
7474
private static final String REGION_NL_NL = "nl_NL";
7575
private static final String GEOLOCATION_ZERO = "0 0 0 0 000";

src/test/README.md

+39
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)