Skip to content

Commit

Permalink
Merge pull request #325 from samchon/features/test
Browse files Browse the repository at this point in the history
Enhance test automation program
  • Loading branch information
samchon authored May 1, 2023
2 parents fb98f1c + 27598eb commit 25ca328
Show file tree
Hide file tree
Showing 699 changed files with 20,896 additions and 11,127 deletions.
28 changes: 3 additions & 25 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,8 @@ jobs:
with:
node-version: 16.x

- name: fetcher
working-directory: ./packages/fetcher
- name: test
working-directory: ./test
run: |
npm install
npm run build
- name: core
working-directory: ./packages/core
run: |
npm install
npm run build
npm run build:test
npm run test
- name: sdk
working-directory: ./packages/sdk
run: |
npm install
npm run build
npm run test
- name: e2e
working-directory: ./packages/e2e
run: |
npm install
npm run build
npm run test
npm run start
4 changes: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
api/functional
bin
lib
node_modules
10 changes: 10 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"editor.tabSize": 4,
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
}
}
27 changes: 27 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"private": true,
"name": "@nestia/station",
"version": "0.0.0",
"description": "Nestia station",
"main": "prettier.config.js",
"directories": {
"test": "test"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/samchon/nestia.git"
},
"author": "Jeongho Nam",
"license": "MIT",
"bugs": {
"url": "https://github.com/samchon/nestia/issues"
},
"homepage": "https://github.com/samchon/nestia#readme",
"devDependencies": {
"@trivago/prettier-plugin-sort-imports": "^4.1.1",
"prettier": "^2.8.8"
}
}
10 changes: 4 additions & 6 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,13 @@
"typings": "lib/index.d.ts",
"scripts": {
"build": "rimraf lib && tsc",
"build:test": "rimraf bin && tsc -p test/tsconfig.json",
"dev": "npm run build -- --watch",
"eslint": "eslint ./**/*.ts",
"eslint:fix": "eslint ./**/*.ts --fix",
"package:latest": "npm run build && npm run build:test && npm run test && npm publish --access public",
"package:latest": "npm run build && npm publish --access public",
"package:next": "npm run package:latest -- --tag next",
"prepare": "ts-patch install",
"prettier": "prettier ./**/*.ts --write",
"test": "node bin/test"
"prettier": "prettier ./**/*.ts --write"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -63,9 +61,9 @@
"prettier": "^2.8.7",
"rimraf": "^3.0.2",
"ts-node": "^10.9.1",
"ts-patch": "3.0.0-beta3",
"ts-patch": "^2.1.0",
"tstl": "^2.5.13",
"typescript": "^5.0.4",
"typescript": "^4.9.5",
"typescript-transform-paths": "^3.4.6"
},
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/core/test/api/__internal/AesPkcs5.ts

This file was deleted.

1 change: 0 additions & 1 deletion packages/core/test/api/__internal/Fetcher.ts

This file was deleted.

7 changes: 0 additions & 7 deletions packages/core/test/api/functional/consumers/index.ts

This file was deleted.

This file was deleted.

This file was deleted.

9 changes: 0 additions & 9 deletions packages/core/test/api/functional/consumers/sales/index.ts

This file was deleted.

This file was deleted.

59 changes: 0 additions & 59 deletions packages/core/test/api/functional/consumers/sales/reviews/index.ts

This file was deleted.

52 changes: 0 additions & 52 deletions packages/core/test/api/functional/filesystem/index.ts

This file was deleted.

9 changes: 0 additions & 9 deletions packages/core/test/api/functional/index.ts

This file was deleted.

7 changes: 0 additions & 7 deletions packages/core/test/api/functional/monitors/index.ts

This file was deleted.

Loading

0 comments on commit 25ca328

Please sign in to comment.