Skip to content

Commit

Permalink
Merge pull request svg#611 from JonathanStoye/docs/update
Browse files Browse the repository at this point in the history
updating the docs on the testing section
  • Loading branch information
GreLI authored Oct 11, 2016
2 parents 928c244 + e776299 commit 57bfacc
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion docs/how-it-works/en.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,20 @@ And of course, writing plugins would not have been so cool without some sugar AP

There is nothing easier than testing your plugin:

1. put `myPlugin.01.orig.svg` and `myPlugin.01.should.svg` in `test/plugins`
1. put `myPlugin.01.svg` in `test/plugins` like:

```
[original svg]
@@@
[how svg should look afterwards]
@@@
attributes if yout plugin needs them
```

2. run `npm test`
3. PROFIT!

Expand Down

0 comments on commit 57bfacc

Please sign in to comment.