Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: qooxdoo/qxl.testtapper
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.4
Choose a base ref
...
head repository: qooxdoo/qxl.testtapper
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Loading
21 changes: 9 additions & 12 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
@@ -18,8 +18,8 @@ jobs:
- ubuntu-latest

node:
- '10.x'
- '12.x'
- '18.x'
- '20.x'

fail-fast: false

@@ -30,26 +30,23 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}


- name: Install Playwright Dependencies
uses: microsoft/playwright-github-action@v1

- name: Install NPM Dependencies
run: npm install @qooxdoo/compiler --no-save --no-package-lock


run: |
npm install @qooxdoo/framework --no-package-lock
npm install playwright --no-package-lock
npx playwright install --with-deps
- name: Run Tests
run: ./runtests.sh

- name: Deploy Pages
if: github.event_name == 'push' && github.repository == 'qooxdoo/qxl.testtapper' && github.ref == 'refs/heads/master' && matrix.node == '11.x'
if: github.event_name == 'push' && github.repository == 'qooxdoo/qxl.testtapper' && github.ref == 'refs/heads/master' && matrix.node == '20.x'
run: |
set -x
npx qx compile --machine-readable --target=build
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -11,3 +11,5 @@
# IDEs
.idea/
/.vscode
/package.json
/package-lock.json
11 changes: 5 additions & 6 deletions Manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://qooxdoo.org/schema/Manifest-1-0-0.json",
"$schema": "https://qooxdoo.org/schema/Manifest-2-0-0.json",
"info": {
"name": "Commandline Testrunner for Qooxdoo Apps",
"summary": "A node based testrunner for qooxdoo unit tests. It uses a headles instance of chrome to execute tests. It uses the TAP protocol to communicate between the browserbased tests and the nodebased testruner.",
@@ -20,7 +20,7 @@
"email": "Henner.Kollmann@gmx.de"
}
],
"version": "1.0.4",
"version": "3.0.0",
"sourceViewUri": "https://github.com/qooxdoo/qxl.testtapper/blob/%{qxGitBranch}/source/class/%{classFilePath}#L%{lineNumber}"
},
"provides": {
@@ -36,7 +36,7 @@
"title": "Qooxdoo TestTAPper",
"environment": {
"qx.icontheme": "Tango",
"testtapper.testNameSpace": "qx.test"
"qxl.testtapper.testNameSpace": "qx.test"
},
"include": [
"qx.test.*"
@@ -45,8 +45,7 @@
}
},
"requires": {
"@qooxdoo/compiler": "^1.0.0",
"@qooxdoo/framework": "^6.0.0 || ^7.0.0-beta",
"qooxdoo/qooxdoo.logpane": "^1.0.2"
"@qooxdoo/framework": "^7.0.0",
"qooxdoo/qxl.logpane": "^2.0.0"
}
}
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -16,8 +16,9 @@ $ npx qx package update
$ npx qx package install qooxdoo/qxl.testtapper
```

Now edit the `"myapp.test.*"` entry in your `compile.json` file to point to the
Now replace the `"qx.test.*"` entry in `application.includes` section of your `compile.json` file to point to the
test classes in your own application.
Also set value for the environment variable `qxl.testtapper.testNameSpace` in your `compile.json`.

```
$ npx qx serve
Loading