Skip to content
This repository has been archived by the owner on Oct 23, 2022. It is now read-only.

Commit

Permalink
prepare v0.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
amtrack committed Dec 4, 2016
1 parent ae268ae commit c0b94dd
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# CHANGELOG

## 0.12.0

* fix running specific tests (#80)
* implement `package grep` subcommand (#77)
* implement workaround for standard picklists (#75)

## 0.11.0

* fix PersonAccount RecordType
Expand Down
24 changes: 22 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,14 +186,34 @@ Options:

**Running unit tests**

Running all local tests

```console
$ force-dev-tool test
Running Test execution to remote mydev
Failures:
Test_Foo#test_method_one took 32.0
- System.AssertException: Assertion Failed: Expected: foo, Actual: bar
- Class.Test_Foo.test_method_one: line 8, column 1
Test_Foo2#test_method_one took 11.0
- System.AssertException: Assertion Failed
- Class.Test_Foo2.test_method_one: line 7, column 1
Error: Visit https://mynamespace.my.salesforce.com/changemgmt/monitorDeploymentsDetails.apexp?asyncId=REDACTED for more information.
3 methods, 2 failures
```

Running specified test classes

```console
$ force-dev-tool test --classNames 'Test_MockFoo Test_MockBar'
```

Note: Runs local unit tests using an empty deployment.
Running test classes matching a pattern (in src/package.xml)

```console
$ force-dev-tool test --classNames 'Test_Foo Test_Bar'
$ force-dev-tool package grep 'ApexClass/Test_Mock*' \
| cut -d '/' -f 2 \
| xargs -0 force-dev-tool test --classNames
```

**Using `force-dev-tool` in a build script**
Expand Down

0 comments on commit c0b94dd

Please sign in to comment.