0.5.7 • Published 3 years ago

@bigtest/todomvc v0.5.7

Weekly downloads
22
License
MIT
Repository
github
Last release
3 years ago

@bigtest/todomvc

Quickly run TodoMVC apps from different frameworks

Synopsis

The TodoMVC app is the standard application of decent complexity for demonstrating the capabilities of various application frameworks. It is also the application that we use as a control group for BigTest itself.

This provides an npm installable TodoMVC app that can be used as a stand-in for an actual project anywhere that we need it, including the @bigtest/server test suite itself. Currently, it only supports a React version, but will support other framework versions in the future.

To use it, add it to your package.json:

$ yarn add -D @bigtest/todomvc

You can now start the todo mvc app by invoking the bigtest-todomvc command.

$ yarn bigtest-todomvc
serving TodoMVC application
--> http://localhost:53202

Optionally, it accepts a port number

$ yarn bigtest-todomvc 5500
serving TodoMVC application
--> http://localhost:5500

To create a TodoMVC application from code:

import { TodoMVC } from '@bigtest/todomvc';

function *start() {
  let server: TodoMVC = yield TodoMVC.react(5500);

  console.log('server listening at ', server.url);

  yield server.join();
}

Development

To run the tests:

$ yarn test
0.5.7

3 years ago

0.5.6

3 years ago

0.5.5

4 years ago

0.5.4

4 years ago

0.5.3

4 years ago

0.5.2

4 years ago

0.5.1

4 years ago

0.5.0

4 years ago

0.4.1

4 years ago

0.4.0

4 years ago

0.1.1

4 years ago

0.1.0-c702ea4

4 years ago

0.1.0

4 years ago

0.1.0-53be305

4 years ago

0.1.0-c12b60b

4 years ago

0.1.0-7273927

4 years ago

0.1.0-f2a49c4

4 years ago

0.1.0-5e6cccd

4 years ago

0.1.0-a468e1e

4 years ago

0.1.0-31b9020

4 years ago