Skip to content

Commit

Permalink
add manual test environment
Browse files Browse the repository at this point in the history
  • Loading branch information
techjacker committed Apr 22, 2013
1 parent 773a397 commit 302c979
Show file tree
Hide file tree
Showing 18 changed files with 58 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-version-assets",
"version": "0.1.2",
"version": "0.1.3",
"description": "version your static assets",
"main": "index.js",
"scripts": {
Expand Down
12 changes: 12 additions & 0 deletions test-utils/manual-test-environment/assets/css/test.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.hello {
width: 300px;
height: 199px;
background-image: url('assets/img/test.d41d8cd98f00b204e9800998ecf8427e.png');
}


.hello {
width: 300px;
height: 199px;
background-image: url('test.d41d8cd98f00b204e9800998ecf8427e.png');
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions test-utils/manual-test-environment/run-manual-test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// node-inspector& nodemon --debug-brk --debug grep.js -w grep.js

var Version = require("../../");
var versionInstance = new Version({
assets: ['test.png', 'test.js', 'assets/img/test.png'],
grepFiles: ['assets/css/test.css'],
keepOriginalAndOldVersions: true,
requireJs: false
});

versionInstance.run();
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions test-utils/manual-test-scenario/assets/css/test.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.hello {
width: 300px;
height: 199px;
background-image: url('assets/img/test.d41d8cd98f00b204e9800998ecf8427e.png');
}


.hello {
width: 300px;
height: 199px;
background-image: url('test.d41d8cd98f00b204e9800998ecf8427e.png');
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions test-utils/manual-test-scenario/grep.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// node-inspector& nodemon --debug-brk --debug grep.js -w grep.js

var Version = require("/home/andy/Desktop/00--projects/00_github-projects/000-deployed/node-version-assets");
var versionInstance = new Version({
assets: ['test.png', 'test.js', 'assets/img/test.png'],
grepFiles: ['assets/css/test.css'],
keepOriginalAndOldVersions: true,
requireJs: false
});

versionInstance.run();
11 changes: 11 additions & 0 deletions test-utils/manual-test-scenario/run-manual-test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// node-inspector& nodemon --debug-brk --debug grep.js -w grep.js

var Version = require("../../");
var versionInstance = new Version({
assets: ['test.png', 'test.js', 'assets/img/test.png'],
grepFiles: ['assets/css/test.css'],
keepOriginalAndOldVersions: true,
requireJs: false
});

versionInstance.run();
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 302c979

Please sign in to comment.