/graalJSchakraTestDriver

Testdriver for graal.js executing chakra core test

Primary LanguageHTML

graalJSchakraTestDriver

This project is about creating a test-driver which evaluates the oracle graal.js implementation against the ms chakra core tests. Will include a human readable / formatted html result output. Right now it looks like the test-driver will be available to execute arbitrary test if you exchange the

status

  • checkout of (just) the chakra tests
  • mockup of the test-result HTML
    • features
      • responsive layout (bootstrap / jquery)
      • on-demand loading of the tests / results
      • syntax & line-number highlightning for the test and diff files prism.js
  • use github ;-)
  • fetching the tests in provided base-directory
  • in/excluding tests based on white/blacklists
  • excluding tests known to crash the VM based on a additional "crashlist"
  • executing the tests
  • determine the fail reason / line
  • exporting the results
    • different formats (html & fail/pass filename only)
    • text should be ready
  • configuration
    • through cli
    • defaults out of a class
    • stackable, so more configuration providers can be added
  • JUnit tests for
    • TestFetcher
    • HTMLResultExporter
    • TestInitiator
    • CLIConfigProvider

get the open-sourced JS tests from ms chakra core project

mkdir chakraTests
cd chakraTests
git init
git remote add -f origin https://github.com/Microsoft/ChakraCore.git
git config core.sparseCheckout true
echo "test" >> .git/info/sparse-checkout
git pull origin master