259 Commits

Author SHA1 Message Date
Alexandre Bodin
59dc3eea36 Fix tests 2019-04-16 18:05:12 +02:00
Alexandre Bodin
87857b94be Implement strapi.queries for all models 2019-04-16 09:05:46 +02:00
cyril lopez
8e80edc47c
Merge branch 'master' into front/admin-new-hook-architecture 2019-04-12 18:43:59 +02:00
soupette
1544cdf877 Fix PR feedback 2019-04-09 18:35:49 +02:00
Alexandre Bodin
865664315f Apply feedbacks 2019-04-04 12:41:57 +02:00
Alexandre Bodin
9bc56a3535 Apply review changes 2019-03-29 16:53:25 +01:00
Alexandre Bodin
e435201de4 Move basic type cast to the root buildQuery in strapi-utils 2019-03-28 17:12:43 +01:00
Alexandre Bodin
b93b4e105d Cleanup tests 2019-03-28 15:10:32 +01:00
Alexandre Bodin
0c5b255e75 Fix graphql loaders and add some e2e graphql tests 2019-03-25 16:37:46 +01:00
Alexandre Bodin
6b417aa1fa Setup travis jobs and stages 2019-03-13 00:10:20 +01:00
Alexandre Bodin
5c6618c525 Cleanup testing helpers and configuration 2019-03-13 00:10:20 +01:00
Alexandre Bodin
a0b45e2741 Add cypress run 2019-03-13 00:10:20 +01:00
Alexandre Bodin
96b023d16b Restructure tests 2019-03-13 00:10:19 +01:00
Alexandre Bodin
f4b5a487d1 Add forceExit param to jest runner 2019-03-13 00:10:19 +01:00
Alexandre Bodin
865ee5e5e2 Init test automation
wip
2019-03-13 00:10:19 +01:00
soupette
d81fba0488 Update tests with the single store 2019-02-11 18:13:14 +01:00
Jim LAURIE
fdcecff2e6 Add test and fix model update 2019-01-31 14:05:59 +01:00
soupette
66e45eb896 Change cypress test folder name 2018-12-03 12:06:09 +01:00
soupette
685c39f0cf Fix PR feedback 2018-11-27 14:13:07 +01:00
soupette
d98db6415b Add cypress in monorepo and split by package 2018-11-22 19:19:04 +01:00
Jim LAURIE
02d935188d Fix test launch 2018-10-31 17:20:09 +01:00
cyril lopez
3e67bd6e08 Remove fs extra and use shelljs in tests 2018-10-19 18:58:11 +02:00
avallete
e77f09bba5 fix(tests): handle properly subchildrens process on test script
Switch from exec to spawn to kill children and sub-children
in the same time from the main test process.

Also add some error handling, and make the program exit with error
code (1) if anything goes wrong during execution.
2018-08-27 20:58:26 +02:00
Jim LAURIE
2c4c0fd921 Fix JSDOM jest tests 2018-08-26 17:13:58 +02:00
Jim LAURIE
9840247d1c Test generated API endpoint 2018-07-19 14:46:03 +02:00
Jim LAURIE
4b66199ef2 Enable all tests 2018-06-28 12:19:00 +02:00
Jim LAURIE
19821a93dd Remove boolean attribute 2018-06-28 12:18:21 +02:00
Aurelsicoko
e543ae28a1 Uncomment tests and clean code 2018-06-15 14:03:55 +02:00
Aurelsicoko
75b39b0a4e Resolve conflicts 2018-06-15 13:51:19 +02:00
Aurelsicoko
76200871e6 Add tests for oneWay relationship 2018-06-15 13:38:34 +02:00
Aurelsicoko
18d3b9cf1e Resolve merge 2018-06-13 17:56:41 +02:00
Aurelsicoko
208319b8a2 Update request helper 2018-06-13 16:16:46 +02:00
Aurelsicoko
7e5b859575 Split tests in packages 2018-06-13 15:31:33 +02:00
Aurelsicoko
c2d0e81f22 Run Jest in the monorepo packages 2018-06-12 17:41:28 +02:00
Jim Laurie
cedfe83150 Add test count route 2018-06-12 14:28:37 +02:00
Jim Laurie
ec5ef9a240 Fix PR feedback 2018-06-04 14:39:26 +02:00
Jim Laurie
8085a2deaf Update oneToOne test with id 2018-06-03 20:46:43 +02:00
Jim Laurie
676334d03d Launch test with mongo postgres and mysql 2018-06-01 14:31:30 +02:00
Jim Laurie
fbfdbf4812 Add oneToOne tests 2018-05-29 18:22:02 +02:00
Jim Laurie
50c30c79f4 Add oneToMany test and describe data independence 2018-05-29 16:30:29 +02:00
Jim Laurie
9954905f44 Test manyToMany relations 2018-05-29 10:25:17 +02:00
Jim Laurie
519f4344c9 Add releation update tests 2018-05-25 16:36:50 +02:00
Jim Laurie
d6b036074e Add delete API tests 2018-05-25 11:49:46 +02:00
Jim Laurie
b8b1afa103 Use request to send form
axios not support FormData request from nodejs script
2018-05-24 15:12:15 +02:00
Jim Laurie
e6b4b2a214 Setup test project
Change test structure
Generate new testApp from node script and launch app
Add new feature: Be able to user strapi start and specify an app path (WIP) configs are loaded
Generate test API with relations - articles, tag and category
2018-05-21 17:04:25 +02:00
Jim Laurie
6c194ff333 Init create new app test 2018-05-18 14:22:24 +02:00
Pierre Burgy
31f0f52729 Remove empty test folder 2017-08-09 19:18:29 +02:00
loicsaintroch
6df354d809 Add basic tests about Koa core and middlewares 2016-04-04 21:53:52 +02:00
loicsaintroch
d81f2840ea Prepare workflow for testing and publishing 2016-03-29 12:02:06 +02:00
loicsaintroch
de96d913dd Form multi repos to mono repo workflow 2016-03-18 11:12:50 +01:00