Skip to content

Commit

Permalink
patch: sprucecli progres
Browse files Browse the repository at this point in the history
  • Loading branch information
liquidg3 committed Sep 23, 2024
1 parent 8612086 commit 4ecd7a1
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 6 deletions.
28 changes: 22 additions & 6 deletions src/pages/concepts/spruce-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,27 @@

**World Class, Open Source Testing Framework for Typescript and Visual Studio Code**.

View on [GitHub](https://github.com/sprucelabsai-community/spruce-cli-workspace).
<div class="grid-buttons">
<a href="https://github.com/sprucelabsai-community/spruce-cli-workspace"><img src="https://img.shields.io/github/last-commit/sprucelabsai-community/spruce-cli-workspace" /></a>
<a href="https://github.com/sprucelabsai-community/spruce-cli-workspace"><img src="https://img.shields.io/circleci/build/github/sprucelabsai-community/spruce-cli-workspace" /></a>
<a href="https://github.com/sprucelabsai-community/spruce-cli-workspace"><img src="https://img.shields.io/github/languages/top/sprucelabsai-community/spruce-cli-workspace" /></a>
<a href="https://github.com/sprucelabsai-community/spruce-cli-workspace"><img src="https://img.shields.io/github/commit-activity/m/sprucelabsai-community/spruce-cli-workspace" /></a>
<a href="https://www.npmjs.com/package/@sprucelabs/spruce-cli"><img src="https://img.shields.io/npm/dy/%40sprucelabs%2Fspruce-cli" /></a>
<a href="https://github.com/sprucelabsai-community/spruce-cli-workspace"><img src="https://img.shields.io/github/issues/sprucelabsai-community/spruce-cli-workspace" /></a>
<a href="https://www.npmjs.com/package/@sprucelabs/spruce-cli"><img src="https://img.shields.io/npm/v/%40sprucelabs%2Fspruce-cli" /></a>
</div>


## Features

1. Feature 1
2. Feature 2
3. Feature 3
1. Beatifully test runner
2. Smart watch mode - Tests broken test over until passing, then tests all files.
2. Simple decorator based (`@test()`) test declaration
3. Class based test files
1. Easy scope management
1. Class test extensions for common setups and fixtures
4. Test file generation
5. Parent test class selection

## Installing

Expand All @@ -29,9 +43,11 @@ yarn global add @sprucelabs/spruce-cli
npm install -g @sprucelabs/spruce-cli
```

## New Module
## Starting a New Module

When you are starting a node module from scratch, you can use `spruce` to get you started. This will not install the `Test` tools, but will leave you with a fully functioning Typescript based node module.

### Starting a module from scratch
```bash

This will get you started with a new node module.

Expand Down
4 changes: 4 additions & 0 deletions src/scss/site.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ body {
@include btn-base(white, black);
margin: 5px;
}

img {
margin: 5px;
}
}

.button-container {
Expand Down

0 comments on commit 4ecd7a1

Please sign in to comment.