1.1.1 • Published 9 years ago

trumman-test v1.1.1

Weekly downloads
11
License
-
Repository
github
Last release
9 years ago

Trumman Test

An easy way to test your CSS components.

Install

npmnpm install --save-dev trumman-test
Bowerbower install --save-dev trumman-test

Usage

  1. cd into-my-project
  2. mkdir test && cd $_ && touch index.html
  3. Install with one of those commands
  4. Load the Trumman-test css file into your html.

    @import '../node_modules/trumman-test/index.css';

    or

    <link rel="stylesheet" href="../node_modules/trumman-test/index.css">
  5. Create your test suite

    <main class="test-suite">
      <h1 class="test-suite-title">Project name</h1>
      <section>
        <h1 class="test-module">Test section</h1>
        <h3 class="test-it">The test <code>.example-code</code></h3>
        <div class="test-run">
          <p>Some test here</p>
        </div>
      </section>
    </main>
  6. Test your component :D

API

  • .test-suite
  • .test-suite-title
  • .test-module
  • .test-it
  • .test-run

License

MIT © Filipe Linhares

1.1.2

9 years ago

1.1.1

9 years ago

1.0.0

9 years ago