没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
蛋白石 尝试在RSpec for Opal的兼容性层中进行。 用法 将opal-rspec添加到您的Gemfile中: gem 'opal-rspec' (从v0.7.1开始) 然后输入opal-rspec --init ,此命令将使用最小的spec_helper.rb文件为您创建一个spec-opal/文件夹。 此时,您可以编写您的第一个蛋白石规格! spec-opal / simple_sum_spec.rb RSpec . describe 'a simple sum' do it 'equals two!' do expect ( 1 + 1 ) . to eq ( 2 ) end end 要运行您的规格,只需键入: bundle exec opal-rspec --color spec-opal/ 要求 除了已经在GEM依赖项中反映的内容之外:
资源推荐
资源详情
资源评论
收起资源包目录
opal-rspec:蛋白石+ RSpec =:heart_suit: (206个子文件)
Appraisals 216B
config 22B
console 345B
sprockets_runner_js_errors.rb.erb 432B
sprockets_runner.rb.erb 301B
spec_opts.rb.erb 53B
Gemfile 559B
opal_master.gemfile 465B
opal_0.11.gemfile 406B
Gemfile 186B
opal-rspec.gemspec 1KB
generate_requires 2KB
.gitignore 63B
.gitmodules 521B
spec_runner.js 1KB
README.md 12KB
CHANGELOG.md 3KB
README.md 108B
ignored_spec.opal 73B
opal 58B
opal-rspec 3KB
opal-rspec 64B
testing.rake 2KB
building.rake 1KB
Rakefile 201B
Rakefile 119B
filters.rb 31KB
filters.rb 22KB
verify_opal_specs_spec.rb 14KB
filters.rb 11KB
example.rb 7KB
requires.rb 5KB
runner_spec.rb 5KB
example_group_spec.rb 5KB
before_hooks_spec.rb 5KB
matchers_spec.rb 4KB
spec_helper.rb 4KB
legacy_async_spec.rb 4KB
html_printer.rb 4KB
runner.rb 3KB
hooks_spec.rb 3KB
example_group.rb 3KB
after_hooks_spec.rb 3KB
example_spec.rb 3KB
locator_spec.rb 3KB
filters.rb 3KB
cached_environment_spec.rb 3KB
async_spec.rb 3KB
opal_filters.rb 2KB
dsl_spec.rb 2KB
element.rb 2KB
around_hooks_spec.rb 2KB
spec_opts_spec.rb 2KB
filter_processor.rb 2KB
sandboxing.rb 2KB
rspec.rb 2KB
space.rb 2KB
subject_spec.rb 2KB
opal.rb 2KB
mock_spec.rb 2KB
metadata_spec.rb 1KB
test_double.rb 1KB
sprockets_environment_spec.rb 1KB
runner.rb 1KB
requires.rb 1KB
formatter_support.rb 1KB
legacy.rb 1KB
verify_rspec_specs_spec.rb 1KB
runner.rb 1KB
loader.rb 1KB
locator.rb 1KB
browser_formatter.rb 1KB
project_initializer.rb 1KB
example_groups.rb 1KB
deprecation_helpers.rb 1KB
sprockets_environment.rb 1KB
example.rb 1KB
requires.rb 1KB
warnings.rb 1KB
failed_example_notification_spec.rb 1KB
memoized_helpers_spec.rb 1KB
requires.rb 1016B
progress_json_formatter.rb 1003B
examples_notification.rb 999B
files_to_run.rb 983B
rake_task_spec.rb 983B
failed_example_notification.rb 861B
metadata.rb 853B
verifying_double.rb 852B
fail_with.rb 847B
cached_environment.rb 846B
config.rb 832B
skip_pending_spec.rb 815B
browser_formatter_spec.rb 777B
requires.rb 767B
summary_notification.rb 745B
browser_spec.rb 710B
expectation_target_spec.rb 690B
deprecation_formatter.rb 669B
backtrace_formatter.rb 646B
共 206 条
- 1
- 2
- 3
资源评论
穆庭秋
- 粉丝: 26
- 资源: 4671
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功