Skip to content

Commit

Permalink
Merge pull request #1404 from cewert/create-sample-tdd
Browse files Browse the repository at this point in the history
  • Loading branch information
cewert authored Oct 16, 2023
2 parents 1e09f44 + f3011b5 commit 604ac5a
Show file tree
Hide file tree
Showing 2 changed files with 85 additions and 47 deletions.
48 changes: 48 additions & 0 deletions bsconfig-tdd-sample.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"files": [
{
"src": "test-app/**/*"
},
{
"src": "source/**/!(Main.brs)",
"dest": "source"
},
{
"src": "components/**/*",
"dest": "components"
},
{
"src": "locale/**/*",
"dest": "locale"
},
{
"src": "settings/**/*",
"dest": "settings"
},
"!**/*.spec.bs",
{
"src": "**/BaseTestSuite.spec.bs",
"dest": "source"
},
{
"src": "**/isValid.spec.bs",
"dest": "source"
}
],
"diagnosticFilters": ["node_modules/**/*", "**/roku_modules/**/*"],
"autoImportComponentScript": true,
"allowBrighterScriptInBrightScript": true,
"createPackage": false,
"stagingFolderPath": "build",
"plugins": ["rooibos-roku"],
"rooibos": {
"isRecordingCodeCoverage": false,
"testsFilePattern": null,
"showOnlyFailures": true,
"catchCrashes": true,
"lineWidth": 70,
"failFast": false,
"sendHomeOnFinish": false
},
"sourceMap": true
}
84 changes: 37 additions & 47 deletions bsconfig-tests.json
Original file line number Diff line number Diff line change
@@ -1,49 +1,39 @@
{
"files": [
{
"src": "test-app/**/*"
},
{
"src": "source/**/!(Main.brs)",
"dest": "source"
},
{
"src": "components/**/*",
"dest": "components"
},
{
"src": "locale/**/*",
"dest": "locale"
},
{
"src": "settings/**/*",
"dest": "settings"
}
],
"diagnosticFilters": [
"node_modules/**/*",
"**/roku_modules/**/*"
],
"autoImportComponentScript": true,
"allowBrighterScriptInBrightScript": true,
"createPackage": false,
"stagingFolderPath": "build",
"plugins": [
"rooibos-roku"
],
"rooibos": {
"isRecordingCodeCoverage": false,
"testsFilePattern": null,
"tags": [
"!integration",
"!deprecated",
"!fixme"
],
"showOnlyFailures": true,
"catchCrashes": true,
"lineWidth": 70,
"failFast": false,
"sendHomeOnFinish": false
"files": [
{
"src": "test-app/**/*"
},
"sourceMap": true
}
{
"src": "source/**/!(Main.brs)",
"dest": "source"
},
{
"src": "components/**/*",
"dest": "components"
},
{
"src": "locale/**/*",
"dest": "locale"
},
{
"src": "settings/**/*",
"dest": "settings"
}
],
"diagnosticFilters": ["node_modules/**/*", "**/roku_modules/**/*"],
"autoImportComponentScript": true,
"allowBrighterScriptInBrightScript": true,
"createPackage": false,
"stagingFolderPath": "build",
"plugins": ["rooibos-roku"],
"rooibos": {
"isRecordingCodeCoverage": false,
"testsFilePattern": null,
"showOnlyFailures": true,
"catchCrashes": true,
"lineWidth": 70,
"failFast": false,
"sendHomeOnFinish": false
},
"sourceMap": true
}

0 comments on commit 604ac5a

Please sign in to comment.