You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by kxepal <gi...@git.apache.org> on 2015/10/17 20:01:30 UTC
[GitHub] couchdb pull request: Improve developing experience
GitHub user kxepal opened a pull request:
https://github.com/apache/couchdb/pull/363
Improve developing experience
This adds:
- Help for make targets
- Dialyze-related targets
- Ability to run eunit and dialyze targets in rebar-style way
- Ability to run specific javascript test with make javascript
Also README-DEV updates with instructions how to use this.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kxepal/couchdb improve-devs-experience
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb/pull/363.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #363
----
commit 3ab46dd2447d28b8bfed3a1d96b11a2cdfbbc321
Author: Alexander Shorin <kx...@apache.org>
Date: 2015-10-16T21:51:27Z
Reorganize Makefile commands
commit 65bacdc1908765ed116997a305f43616ca0ebb41
Author: Alexander Shorin <kx...@apache.org>
Date: 2015-10-16T21:52:37Z
Make help
commit 1db3a10bf13a9af1250a34f682676c5a4b940b44
Author: Alexander Shorin <kx...@apache.org>
Date: 2015-10-17T00:31:03Z
Simplify exit on first test suite failure
commit 69a651024b678131499a563ff60e4aa0aaf4b12d
Author: Alexander Shorin <kx...@apache.org>
Date: 2015-10-17T15:53:59Z
Simplify eunit target options
Now it mirrors rebar eunit options and you can preserve old habits
to specify app, suite or test to run test against:
make eunit apps=couch suites=couch_btree
Supported options are: apps, skip_deps, suites, tests. If you need
something more specific you can use EUNIT_OPTS to specify rebar eunit
options as-is:
make eunit EUNIT_OPTS="apps=couch suites=couch_btree"
commit 74d02a59c5749d390e398026bfcdf7860785ff71
Author: Alexander Shorin <kx...@apache.org>
Date: 2015-10-17T16:13:21Z
Allow to run specific javascript tests by javascript target
Example for single test:
make javascript tests=basics
Multiple tests:
make javascript tests="basics design_options"
commit 14ad3401ceedcb3683a2b5cc2f0bb5580d947ae6
Author: Alexander Shorin <kx...@apache.org>
Date: 2015-10-17T16:16:25Z
Reorganize javascript target
commit 0647c219d6abb44a92c74503eabd23ad5fec67ea
Author: Alexander Shorin <kx...@apache.org>
Date: 2015-10-17T16:56:12Z
Add targets for code analyze
Supports build-plt, check-plt and dialyze. You can run
them against some specific apps by using `apps` options,
and ignore apps with `skip_deps`:
make dialyze apps=couch_epi,couch
If you eventually need more, use DIALYZE_OPTS to specify
own options set:
make dialyze DIALYZE_OPTS="..."
commit ebe1b77eaafaffdbceb485982e52a0b1608919c2
Author: Alexander Shorin <kx...@apache.org>
Date: 2015-10-17T17:50:44Z
Improve testing instructions
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] couchdb pull request: Improve developing experience
Posted by nickva <gi...@git.apache.org>.
Github user nickva commented on the pull request:
https://github.com/apache/couchdb/pull/363#issuecomment-149110695
@kxepal +1
Nice work figuring out how to pass eunit options to make target ex.: "make eunit apps=couch,chttpd" !
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] couchdb pull request: Improve developing experience
Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:
https://github.com/apache/couchdb/pull/363
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] couchdb pull request: Improve developing experience
Posted by rnewson <gi...@git.apache.org>.
Github user rnewson commented on the pull request:
https://github.com/apache/couchdb/pull/363#issuecomment-149581215
nice
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---