Skip to content

Commit 87eb6f5

Browse files
author
Jules Amosah
authored
Replace references to codepress with codeceptjs (#179)
1 parent 66eac69 commit 87eb6f5

25 files changed

Lines changed: 38 additions & 37 deletions

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
An interactive, graphical test runner for [CodeceptJS](https://codecept.io).
44

55

6-
![codeceptui](https://github.com/codeceptjs/ui/raw/master/codecept-ui2.gif)
6+
![codeceptui](codecept-ui2.gif)
77

88
* Runs as Electron app or as a web server
99
* Headless & window mode supported
@@ -44,7 +44,7 @@ npx codecept run --config tests/codecept.conf.js
4444

4545
### WebServer Mode
4646

47-
![](https://github.com/codeceptjs/ui/raw/master/codeceptui.gif)
47+
![webserver mode](codeceptui.gif)
4848

4949
Run CodeceptUI as a web server (recommended for headless mode, remote debug):
5050

@@ -85,19 +85,19 @@ npx codecept-ui --app --wsPort=4444
8585

8686
## Development
8787

88-
See [CONTRIBUTING.md](https://github.com/codeceptjs/ui/blob/master/.github/CONTRIBUTING.md)
88+
See [CONTRIBUTING.md](.github/CONTRIBUTING.md)
8989

9090

9191
## Start CodeceptUI with debug output
9292

93-
codepress uses the debug package to output debug information. This is useful to troubleshoot problems or just to see what codepress is doing. To turn on debug information do
93+
CodeceptUI uses the [debug](https://github.com/debug-js/debug) package to output debug information. This is useful to troubleshoot problems or just to see what CodeceptUI is doing. To turn on debug information do
9494

9595
```
9696
# verbose: get all debug information
97-
DEBUG=codepress:* npx codecept-ui
97+
DEBUG=codeceptjs:* npx codecept-ui
9898
9999
# just get debug output of one module
100-
DEBUG=codepress:codeceptjs-factory npx codecept-ui
100+
DEBUG=codeceptjs:codeceptjs-factory npx codecept-ui
101101
```
102102

103103
# Credits
@@ -120,5 +120,6 @@ Thanks all for the contributions!
120120
<a href="https://github.com/kaflan"><img src="https://avatars3.githubusercontent.com/u/3959504?v=4" title="kaflan" width="80" height="80"></a>
121121
<a href="https://github.com/lukasf98"><img src="https://avatars2.githubusercontent.com/u/22434650?v=4" title="lukasf98" width="80" height="80"></a>
122122
<a href="https://github.com/geilix10"><img src="https://avatars3.githubusercontent.com/u/16301998?v=4" title="geilix10" width="80" height="80"></a>
123+
<a href="https://github.com/Teomik129"><img src="https://avatars3.githubusercontent.com/u/23395221?v=4" title="Teomik129" width="80" height="80"></a>
123124

124125
[//]: contributor-faces

bin/codecept-ui.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env node
2-
const debug = require('debug')('codepress:codepress');
2+
const debug = require('debug')('codeceptjs:ui');
33

44
// initialize CodeceptJS and return startup options
55
const path = require('path');

lib/api/get-config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const codeceptjsFactory = require('../model/codeceptjs-factory');
22

33
module.exports = (req, res) => {
4-
const internalHelpers = Object.keys(codeceptjsFactory.codepressHelpersConfig.helpers);
4+
const internalHelpers = Object.keys(codeceptjsFactory.codeceptjsHelpersConfig.helpers);
55
const { config, container } = codeceptjsFactory.getInstance();
66
const helpers = Object.keys(container.helpers()).filter(helper => internalHelpers.indexOf(helper) < 0);
77

lib/api/get-scenario-status.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const debug = require('debug')('codepress:get-scenario-status');
1+
const debug = require('debug')('codeceptjs:get-scenario-status');
22
const scenarioStatusRepository = require('../model/scenario-status-repository');
33

44
module.exports = (req, res) => {

lib/api/get-snapshot-html.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const debug = require('debug')('codepress:get-snapshot-html');
1+
const debug = require('debug')('codeceptjs:get-snapshot-html');
22
const snapshotStore = require('../model/snapshot-store');
33

44
module.exports = (req, res) => {

lib/api/get-snapshot-image.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const debug = require('debug')('codepress:get-snapshot-image');
1+
const debug = require('debug')('codeceptjs:get-snapshot-image');
22
const snapshotStore = require('../model/snapshot-store');
33
const fs = require('fs');
44
const path = require('path');

lib/api/list-actions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
function _interopDefault(ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex.default : ex; }
22
const acorn = require('acorn');
33
const parser = _interopDefault(require('parse-function'))({ parse: acorn.parse, ecmaVersion: 11 });
4-
const debug = require('debug')('codepress:codeceptjs-factory');
4+
const debug = require('debug')('codeceptjs:codeceptjs-factory');
55
const fs = require('fs');
66
const path = require('path');
77
const codeceptjsFactory = require('../model/codeceptjs-factory');

lib/api/new-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const debug = require('debug')('codepress:run-scenario');
1+
const debug = require('debug')('codeceptjs:run-scenario');
22
const wsEvents = require('../model/ws-events');
33
const pause = require('../codeceptjs/brk');
44
const { event } = require('codeceptjs');

lib/api/run-scenario-parallel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const os = require('os');
2-
const debug = require('debug')('codepress:run-scenario-multiple');
2+
const debug = require('debug')('codeceptjs:run-scenario-multiple');
33
const wsEvents = require('../model/ws-events');
44
const { event } = require('codeceptjs');
55
const codeceptjsFactory = require('../model/codeceptjs-factory');

lib/api/run-scenario.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const debug = require('debug')('codepress:run-scenario');
1+
const debug = require('debug')('codeceptjs:run-scenario');
22
const wsEvents = require('../model/ws-events');
33
const { event } = require('codeceptjs');
44
const codeceptjsFactory = require('../model/codeceptjs-factory');

0 commit comments

Comments
 (0)