From b04dc53d2af3957dc683486dc1436d39372b6e49 Mon Sep 17 00:00:00 2001 From: Kevin Hellemun Date: Mon, 7 Aug 2017 12:16:55 +0200 Subject: [PATCH 1/3] Added tests readme --- README.md | 6 +++++- src/test/README.md | 44 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 src/test/README.md diff --git a/README.md b/README.md index 4dba428e..b74b5cc5 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,4 @@ # bunq Java SDK -Version 0.9.0 **BETA** ## Introduction Hi developers! @@ -161,3 +160,8 @@ List users = User.list(apiContext); ##### Example See [`UserListExample.java`](./src/main/java/com/bunq/sdk/example/UserListExample.java) + +## Running tests + +Information regarding the test cases can be found in the [README.md](./src/test/README.md) +located in [test](/src/test) diff --git a/src/test/README.md b/src/test/README.md new file mode 100644 index 00000000..1596320e --- /dev/null +++ b/src/test/README.md @@ -0,0 +1,44 @@ +# bunq Java SDK + +## Introduction +Hi developers! + + +Welcome to the bunq Java SDK integration tests. Currently we are not +targeting the 100% test coverage, but rather want to be certain that the most +common scenarios can run without any errors. + + +## Scenarios + +These are the scenarios that are currently being tested: +* Create installation, session-server and device server +* Create a new MonetaryAccount +* Create a tab +* Update the tab +* Create attachment and avatar +* Request money from first MA to second MA +* Accept the request +* Make a transaction from first MA to second MA +* Create connect gr code +* Make a payment to another sandbox user +* Send a chat message in a recent payment +* Delete the current session +* Order a card with a second line + +Besides these scenarios, some code of ApiContext, ApiClient and the JSON module +are also tested :thumbs_up:. + +## Configuration + +To run the tests you must first setup the test configuration JSON. The example +of a configuration file is located at [`src/test/config.example.properties`](./config.example.properties). +In order to make use of the configuration file, please copy the example to the +same directory, fill in your sandbox user data and rename the copy to `config.properties` + +## Execution + +To run tests via IntelliJ IDEA, you must make sure that you've build the project with gradle. + +Afterwards you can right click on the tests folders and should be able to run +the tests cases form the IDE. From 1a24e4b4d11bc032dd23266f64860092434cfc64 Mon Sep 17 00:00:00 2001 From: Kevin Hellemun Date: Mon, 7 Aug 2017 12:38:36 +0200 Subject: [PATCH 2/3] Who likes periods anyway :laughing:. --- src/test/README.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/test/README.md b/src/test/README.md index 1596320e..6055a37a 100644 --- a/src/test/README.md +++ b/src/test/README.md @@ -3,14 +3,11 @@ ## Introduction Hi developers! - Welcome to the bunq Java SDK integration tests. Currently we are not targeting the 100% test coverage, but rather want to be certain that the most common scenarios can run without any errors. - ## Scenarios - These are the scenarios that are currently being tested: * Create installation, session-server and device server * Create a new MonetaryAccount @@ -30,14 +27,12 @@ Besides these scenarios, some code of ApiContext, ApiClient and the JSON module are also tested :thumbs_up:. ## Configuration - To run the tests you must first setup the test configuration JSON. The example of a configuration file is located at [`src/test/config.example.properties`](./config.example.properties). In order to make use of the configuration file, please copy the example to the -same directory, fill in your sandbox user data and rename the copy to `config.properties` +same directory, fill in your sandbox user data and rename the copy to `config.properties`. ## Execution - To run tests via IntelliJ IDEA, you must make sure that you've build the project with gradle. Afterwards you can right click on the tests folders and should be able to run From 35d94fc9da0c80d3c063e199445e1080d0971167 Mon Sep 17 00:00:00 2001 From: Daniil Belyakov Date: Mon, 7 Aug 2017 13:04:34 +0200 Subject: [PATCH 3/3] add missing period --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1f55f2a1..644e61a8 100644 --- a/README.md +++ b/README.md @@ -171,4 +171,4 @@ API key before running the example! ## Running tests Information regarding the test cases can be found in the [README.md](./src/test/README.md) -located in [test](/src/test) +located in [test](/src/test).