Timeline for keep test data of json format in pom patterm
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 11, 2018 at 14:34 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Feb 9, 2018 at 13:58 | answer | added | Amias | timeline score: 1 | |
Sep 17, 2017 at 7:35 | history | tweeted | twitter.com/StackSQA/status/909319890317795329 | ||
Aug 9, 2017 at 15:52 | comment | added | mutt | @AnthonyNaveen So you create a resource file in your project that is your JSON data file. Then in your code you include the resource and read the values from the JSON file as it loads it into memory at runtime. | |
Jan 24, 2017 at 7:10 | comment | added | user21268 | @ernie Not get the point . how to create a class file and keep the test data in json format with my above mentioned code ? | |
Jan 23, 2017 at 18:59 | comment | added | ernie |
create a resources directory or similar, and store the request bodies there . . . or if want to get really fancy/need to scale, create a DB and store the items there.
|
|
Jan 23, 2017 at 18:28 | history | edited | Kate Paulk | CC BY-SA 3.0 |
clean up text
|
Jan 23, 2017 at 18:08 | history | asked | user21268 | CC BY-SA 3.0 |