Commit Graph

47 Commits

Author SHA1 Message Date
Luke Bakken
dca01640ce Syntax error in .riak_test.config 2016-01-25 17:21:14 -08:00
Doug Rohrer
2d7ac6ab4f Merge of several YZ changes and overload fix from riak/2.0 to riak/2.1 2015-10-23 12:56:06 -04:00
Brett Hazen
8a99d7545b Add rtdev-install.sh 2015-09-01 14:33:29 -06:00
Brett Hazen
9fae776d41 Update documented versions to be 1.4, 2.0 and 2.1 2015-07-21 13:31:19 -06:00
Luke Bakken
bc1507b4ad Improve README and other minor tweaks.
Rather than suggest editing the bootstrap scripts we should recommend
setting environment variables to point to existing Erlang installations,
if present.

Also updated the build versions to 2.0.0rc1 and 1.4.10
2015-01-20 07:26:48 -08:00
Brett Hazen
735301f303 Update scripts to build more recent older versions and fix issues with Riak 1.3.x 2014-09-17 15:31:54 -06:00
Jordan West
51a5dd6b4b Support Intercept Modules Living Outside This Repository
for use with e.g. yokozuna where the tests live in the project repo.
see README updates for more.
2014-08-04 23:58:12 -07:00
John Burwell
36741bb977 - Adds tests to verify the operation of list keys and list buckets when
an undefined bucket type is specified.  (defect #875)
- Adds a description of the reset-current-env.sh script and its
  usage to README.md
- Corrects a spelling mistake in an information message emitted by
  the reset-current-env.sh script
2014-06-03 13:44:05 -04:00
Andrew Thompson
97a390595c Merge pull request #579 from basho/adt-per-test-coverage
Allow cover_modules and cover_apps to be per test module
2014-05-09 14:20:09 -04:00
Steve Vinoski
fbbacdd0b3 support for anonymous function intercepts
Allow intercept functions passed to rt_intercept:add/2 to be anonymous. In
compiled code they can either be a plain anonymous function, assuming they
don't use any variables from the surrounding context, or they can be a
2-tuple like this:

{[FreeVar1, ...],
 fun(Arg1, ...) -> ... end}

where FreeVar1 etc. is a list of free variables to be closed over so that
they can be used within the anonymous function. For making interactive
calls to rt_intercept:add/2 from the Erlang shell, only the anonymous
function form is required, even if it uses free variables, though the
2-tuple form is also acceptable.

For compiled code, support for anonymous intercept functions is implemented
via a parse transform, and so to use anonymous functions the intercept
structure(s) containing them must be defined directly inline as part of the
final argument to rt_intercept:add/2, i.e., they cannot be first assigned
to a variable that is then used within the argument. This is because the
value of such a variable might not be visible to the parse transform.

Add a description of anonymous function intercepts to the README.
2014-04-25 15:07:02 -04:00
Andrew Thompson
2087d4b404 If the test does not define coverage modules/apps use what is in the config
To help in the migration to annotated riak_tests, allow the global cover
lists in the riak_test config to be used as a fallback for tests with
no annotations.
2014-04-22 16:01:01 -04:00
Andrew Thompson
87ca6779f7 Update README about cover changes 2014-04-17 17:44:09 -04:00
Ryan Zezeski
9155120b00 Merge pull request #461 from basho/dp_completion
add bash/zsh completion for test names
2014-01-25 17:09:24 -08:00
Dave Parfitt
a363890b1b fixed markdown around intercept example 2014-01-06 11:18:10 -05:00
Dave Parfitt
27456146d4 added zsh completion from jrwest
Source:
https://gist.github.com/jrwest/cfad8b14eb286a0bb93d
2013-12-06 16:13:04 -05:00
Dave Parfitt
8d13052d87 updated readme w/ shell completion doc 2013-12-06 15:48:34 -05:00
Engel A. Sanchez
8910bc3b21 Fix engbot post URL
It was missing the /riak_test endpoint part
2013-10-28 10:46:10 -04:00
Jordan West
989fea3e98 update README 2013-09-13 12:26:18 -07:00
Engel Sanchez
581ee66b48 Add coverage and webhooks to README 2013-08-12 14:09:39 -04:00
Brett Hazen
8ab77185a9 Update previous version to 1.3.2 2013-07-03 09:47:26 +01:00
Brett Hazen
f730fa65be Update tests for Riak 1.4.0 2013-06-07 10:33:01 -05:00
Russell Brown
4f8817ab54 Fix config example in README to use full paths
A hapless user, cluelessly copy-pasting the example config in the
README will fail 'cos you must use absolute paths in the `rtdev_path`
section.
2013-02-28 16:27:48 +00:00
engelsanchez
bf13cda458 Add rt_default_config documentation 2013-02-01 17:23:14 -05:00
Dave Parfitt
c4e731328d cleaned up paths in README + riak_test.app.src 2013-01-23 13:50:43 -05:00
Dave Parfitt
7ebba3b480 change default rt dir from /tmp to ~/rt/riak 2013-01-23 11:43:19 -05:00
Ryan Zezeski
5ce918da6d Update intercepts README 2012-12-20 16:43:03 -05:00
Ryan Zezeski
d284dcfc22 Add intercepts
Intercepts provide the ability to easily and efficiently intercept
function calls.  Giving the ability to change the code being executed
as well as affect local and global state.
2012-12-20 16:14:28 -05:00
Joe DeVivo
393ac69d8d Documented default config in the README 2012-10-17 07:55:52 -07:00
Joe DeVivo
e0a89d5a1c Fixed typo 'you'->'your' 2012-09-19 14:49:28 -07:00
Joe DeVivo
6ab9645dae Added details to the README 2012-09-19 14:15:13 -07:00
Reid Draper
6b6b2b91be s/typicallly/typically 2012-09-18 14:40:41 -04:00
Reid Draper
a2f8b7a833 Add a description of riak_test and the directories involved 2012-09-18 14:31:30 -04:00
Eric Redmond
dfa1d2d1ec added osx lion laziness 2012-09-17 16:28:32 -07:00
Sean Cribbs
2e3bc90ed5 Add comment about rtdev-all.sh script. 2012-09-17 17:26:47 -04:00
Sean Cribbs
167142e341 Line-wrapping README 2012-09-17 17:16:59 -04:00
Joe DeVivo
f1ee161c32 Fixed readme to support getopt cli 2012-09-11 11:56:25 -07:00
Jared Morrow
6fe4f150ad Be explicit in disabling HiPE 2012-09-10 13:56:28 -06:00
Jared Morrow
4816b0c672 Remove HiPE flag of kerl configure instructions
We disabled HiPE on all builders from 1.2 going forward.
This change is a minor nitpick to make sure dev setups
are as close to possible to what we deliver.
2012-09-10 11:53:11 -06:00
Joe DeVivo
91e5084d3c Minor README changes 2012-08-23 10:55:59 -07:00
Joe DeVivo
a7372ce6a7 Rolled lion fix out of readme and into its own script 2012-08-22 09:49:22 -07:00
Joe DeVivo
6479bab93c Added Kerlveat for 64bit mac action 2012-08-22 09:42:35 -07:00
Joe DeVivo
c61ae32ff5 Update README.md
Should have been bold, not italics
2012-08-22 09:10:52 -07:00
Joe DeVivo
059ef132e0 Removed old quickstart from readme 2012-08-22 09:07:44 -07:00
Joe DeVivo
dbf08afd5d Added more to the bootstrapping section of the readme 2012-08-22 09:07:16 -07:00
Joe DeVivo
b722b32df4 Added section to README on rtdev-build-releases.sh 2012-08-22 08:39:34 -07:00
Joe DeVivo
5cd79f6bb2 Added the capacity for a ~/.riak_test.config file 2012-08-15 12:48:50 -07:00
Joe DeVivo
0aef4b6c79 Added README 2012-08-15 10:27:32 -07:00