<commit_before># audio book collection manager UI

This project is a sample application to showcase cucumber. This project itself does not contain any cucumber stuff. It only contains the web application that is to be tested by the cucumber features.

This application is done in [AngularJS](http://angularjs.org/). It was created using [angular-seed](https://github.com/angular/angular-seed).

## Running the application

You can pick one of these options:

* serve this repository with a webserver of your choice or
* install [node.js](http://nodejs.org/) and run `scripts/web-server.js` (Windows: `node scripts\web-server.js`)

Then navigate your browser to `http://localhost:<port>/app/index.html` to see the app running in your browser.

## Running the unit tests

You don't need to worry about these if scyou only want to use the application to run your cucumber features against it.

Otherwise, read on. The unit tests require [node.js](http://nodejs.org/), Testacular (`sudo npm install -g testacular` (on Windows of course without sudo)) and a browser. Testacular coninuously runs the tests whenever a source file changes (like Inifinitest, if you happen to know this).

* start `scripts/test.sh` (on windows: `scripts\test.bat`)
  * a browser will start and connect to the Testacular server (Chrome is default browser, others can be captured by loading the same url as the one in Chrome or by changing the `config/testacular.conf.js` file)
* to run or re-run tests just change any of your source or test javascript files

## Directory Layout

    app/                --> all of the files that would be used in production
      css/              --> css files
        app.css         --> default stylesheet
      img/              --> image files
      index.html        --> app layout file (the main html template file of the app)
      index-async.html  --> just like index.html, but loads js files asynchronously
      js/               --> javascript files
        app.js          --> application
        controllers.js  --> application controllers
        directives.js   --> application directives
        filters.js      --> custom angular filters
        services.js     --> custom angular services
      lib/              --> angular and 3rd party javascript libraries
        angular/
          angular.js        --> the latest angular js
          angular.min.js    --> the latest minified angular js
          angular-*.js      --> angular add-on modules
          version.txt       --> version number
      partials/             --> angular view partials (partial html templates)
        partial1.html
        partial2.html

    config/testacular.conf.js        --> config file for running unit tests with Testacular

    scripts/            --> handy shell/js/ruby scripts
      test.bat          --> autotests unit tests with Testacular (windows)
      test.sh           --> autotests unit tests with Testacular (*nix)
      web-server.js     --> simple development webserver based on node.js

    test/               --> test source files and libraries
      lib/
        angular/                --> angular testing libraries
          angular-mocks.js      --> mocks that replace certain angular services in tests
          angular-scenario.js   --> angular's scenario (end-to-end) test runner library
          version.txt           --> version file
      unit/                     --> unit level specs/tests
        controllersSpec.js      --> specs for controllers
        directivessSpec.js      --> specs for directives
        filtersSpec.js          --> specs for filters
        servicesSpec.js         --> specs for services<commit_msg>remove obsolete ref to testacular<commit_after># audio book collection manager UI

This project is a sample application to showcase cucumber. This project itself does not contain any cucumber stuff. It only contains the web application that is to be tested by the cucumber features.

This application is done in [AngularJS](http://angularjs.org/). It was created using [angular-seed](https://github.com/angular/angular-seed).

## Running the application

You can pick one of these options:

* serve this repository with a webserver of your choice or
* install [node.js](http://nodejs.org/) and run `scripts/web-server.js` (Windows: `node scripts\web-server.js`)

Then navigate your browser to `http://localhost:8000/app/index.html` to see the app running in your browser.

{'fraction_non_alphanumeric': 0.08057618726085979, 'fraction_numerical': 0.0015755120414134593, 'mean_word_length': 2.41321044546851, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 37, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2904653', 'n_tokens_mistral': 1103, 'n_tokens_neox': 1054, 'n_words': 489}