Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jmettraux/bxs
Bundle Exec rSpec - a wrapper for `bundle exec rspec`
https://github.com/jmettraux/bxs
rspec ruby shell
Last synced: 14 days ago
JSON representation
Bundle Exec rSpec - a wrapper for `bundle exec rspec`
- Host: GitHub
- URL: https://github.com/jmettraux/bxs
- Owner: jmettraux
- License: mit
- Created: 2017-03-21T08:59:16.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-01-03T06:14:01.000Z (about 1 year ago)
- Last Synced: 2024-11-27T12:12:35.422Z (2 months ago)
- Topics: rspec, ruby, shell
- Language: Ruby
- Size: 25.4 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# bxs
Bundle Exec rSpec
A script to run Rspec in detail.
Given specs that output
```
(...)Finished in 0.38381 seconds (files took 0.10018 seconds to load)
43 examples, 3 failures, 1 pendingFailed examples:
rspec ./spec/eo_time_spec.rb:540 # EtOrbi::EoTime.make accepts a Date
rspec ./spec/eo_time_spec.rb:562 # EtOrbi::EoTime.make accepts a String (Zulu)
rspec ./spec/eo_time_spec.rb:582 # EtOrbi::EoTime.make accepts a String (ss-01)
```
then
```
bxs 0 # ---> will run bundle exec rspec ./spec/eo_time_spec.rb:540
bxs -1 # ---> will run bundle exec rspec ./spec/eo_time_spec.rb:582
bxs 0 -1 # ---> will run both first and last faulty spec
bxs :540 # ---> will run bundle exec rspec ./spec/eo_time_spec.rb:540bxs i # ---> will list the current indexes (the list of shortcuts)
```There is also
```
bxs r # ---> reads the while .bxsinfo data and pretty prints it
```## preparation (installation)
```
$ cd bin/
bin $ ln -s ~/work/bxs/src/bxs
```## .bxspre
For example:
```
# let's max the heap size
jruby -J-Xms512m -J-Xmx512m -S
```If this `.bxspre` file is present, its first non-comment non-empty line gets added before `bundle exec rspec ...` when calling `bxs`.
## license
MIT, see [LICENSE.txt](LICENSE.txt)