<commit_before>Ant + TestNG + Selenium Example
===============================

This is an example on how to use [the Ant build tool](http://ant.apache.org/) to perform [TestNG](http://testng.org/) test cases. All you need is a JDK (Java Development Kit) and Ant.

As this project just serves as a working example on how to set things up, this project just makes a general test (checks that a web service responds appropriately, with a 200 OK response). You can run it like so:

    ant -Dtm.url=https://testingmachine.eu/

TMTest.java contains the actual test. The methods annotated with <code>@Test</code> perform the actual testing, and end with an assertion. Adding a test case is a simple as adding a Test-annotated method.

The Ant command will compile the classes and run TestNG, which in turn will generate an HTML summary of the tests in a "testng_output" subdirectory. (If you want to change this directory, all you have to do is to set a <code>-Dtm.testngOutput</code> parameter.

You can customize the test suite, such as adding a test class to it, by modifying the testng.xml file.

Good luck with your testing!<commit_msg>Paste package manager instructions from tm-vmm; add paranthesis<commit_after>Ant + TestNG + Selenium Example
===============================

This is an example on how to use [the Ant build tool](http://ant.apache.org/) to perform [TestNG](http://testng.org/) test cases. All you need is a JDK (Java Development Kit) and Ant. For Debian, run `apt-get install default-jdk`. For Ubuntu, run `sudo apt-get install default-jdk ant`. For Fedora, run `yum install java-1.7.0-openjdk ant`.

As this project just serves as a working example on how to set things up, this project just makes a general test (checks that a web service responds appropriately, with a 200 OK response). You can run it like so:

    ant -Dtm.url=https://testingmachine.eu/

TMTest.java contains the actual test. The methods annotated with <code>@Test</code> perform the actual testing, and end with an assertion. Adding a test case is a simple as adding a Test-annotated method.

The Ant command will compile the classes and run TestNG, which in turn will generate an HTML summary of the tests in a "testng_output" subdirectory. (If you want to change this directory, all you have to do is to set a <code>-Dtm.testngOutput</code> parameter.)

You can customize the test suite, such as adding a test class to it, by modifying the testng.xml file.

Good luck with your testing!
{'fraction_non_alphanumeric': 0.09314516129032258, 'fraction_numerical': 0.0036290322580645163, 'mean_word_length': 4.245243128964059, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5485009', 'n_tokens_mistral': 684, 'n_tokens_neox': 647, 'n_words': 371}