• Sam Saccone's avatar
    Run tests over a subset of tests based on changes · 75f6a685
    Sam Saccone authored
    * First we add the real remote and fetch the contents
    * then we diff the current branch from masters contents
    * then we get the examples folders.. for instance
    
    examples/backbone/....
    examples/angular/.....
    
    then I awk out the middle name, which happens to be used with our test
    suite to run each test. From there I use xargs to invoke the tests
    running over a subset of all of the tests.
    
    npm run test -- --framework=backbone --framework=angular
    --framework=dogescript
    75f6a685
test.js 11.4 KB