Comments (6)
new term crossed finger driven development
from approvals.nodejs.
Is beyond compare 4 different than what this supports https://github.com/approvals/Approvals.NodeJS/blob/master/lib/Reporting/Reporters/beyondcompareReporter.js? ... ba never-mind just read the code and it's only Beyond Compare 3
..
NOTE: if you can think of a way to make it less version dependent, that would be awesome.
from approvals.nodejs.
I had trouble getting npm install
to complete on Windows 10. So I've been stalled on this. But here is a "custom" reporter that is working for us for now.
{
// this is used in exception reporting etc. Just give it a name :)
name: "BeyondCompare4",
// This is used to determine if the reporter can report on the specified file
// EX: an image differ vs a txt differ...
canReportOn: function(receivedFilePath) {
return receivedFilePath.endsWith(".txt");
},
// Actually execute the diff against the two files
report: function(approved, received) {
if (!fs.existsSync(approved)) {
fs.writeFileSync(approved, "");
}
var exe = "C:/Program Files/Beyond Compare 4/BCompare.exe";
console.log('CMD: ' + [exe, received, approved].join(' '));
child_process.spawn(exe, [received, approved], {
detached: true,
stdio: ['pipe', 1, 2, 'ipc']
});
}
}
from approvals.nodejs.
FYI, it works for me on mac
from approvals.nodejs.
I've updated beyond compare reporter to try to do a little extra path searching... https://github.com/approvals/Approvals.NodeJS/blob/master/lib/Reporting/Reporters/beyondcompareReporter.js
NOTE: I don't have this tool - so here's
from approvals.nodejs.
from approvals.nodejs.
Related Issues (20)
- .approvalsConfig example should be YAML
- Option to block test progress on diff tool HOT 1
- Approvals.NodeJS pulls `"edge"`, `"edge-cs"`, and `"nan"` dependencies on Windows HOT 1
- Allow specifying a file extension from options override (HTML for instance, helpful to preview in the browser) HOT 1
- Setting up the project fails with ENOTFOUND HOT 1
- Add an IntelliJ reporter
- failOnLineEndingDifferences not working HOT 3
- Cannot read property 'blockUntilReporterExits' of undefined HOT 3
- exitCode always 0 when encountering stale approvals HOT 2
- security issue with `marked` version via `msee` HOT 2
- Empty Files
- DateScrubber.getScrubberFor doesn't support the following:
- Approvals JS and Jest HOT 2
- natives dependency deprecated by its maintainer
- how to use combinationverify HOT 1
- Approval approved/received location + .approvalsConfig format or example HOT 2
- Beyond Compare 4 won't ever be found on Windows due to bug
- Issues with Buffer Compare Loop HOT 3
- event-stream flatmap-stream HOT 2
- Callback or promise so I can wait until visual diff editor closes before moving on to the next test? HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from approvals.nodejs.