factory_trace
Simple tool to maintain factories and traits from FactoryBot
파일 탐색기
최종 버전 다운로드 (.zip)- copilot-setup-steps.yml
- release.yml
- rubocop.yml
- tests.yml
- copilot-instructions.md
- FUNDING.yml
- factory_trace
- fb_6_4.gemfile
- fb_head.gemfile
- test_helper.rb
- test_test.rb
- factories.rb
- spec_helper.rb
- test_spec.rb
- multi-step-expected.txt
- multi-step-runner.rb
- single-step-expected.txt
- single-step-runner.rb
- caller.rb
- converter.rb
- statusable.rb
- definition_proxy.rb
- dsl.rb
- factory.rb
- monkey_patches.rb
- trait.rb
- extract_defined.rb
- extract_defined_fixtures.rb
- extract_used.rb
- find_unused.rb
- trace_reader.rb
- collection.rb
- factory.rb
- trait.rb
- report_writer.rb
- trace_writer.rb
- writer.rb
- configuration.rb
- fixture_tracker.rb
- tracker.rb
- version.rb
- minitest.rb
- rspec.rb
- factory_trace.rb
- manifest.js
- application.js
- cable.js
- application.css
- channel.rb
- connection.rb
- application_controller.rb
- application_helper.rb
- application_job.rb
- application_mailer.rb
- application_record.rb
- user.rb
- application.html.erb
- mailer.html.erb
- mailer.text.erb
- bundle
- rails
- rake
- setup
- spring
- update
- yarn
- development.rb
- production.rb
- test.rb
- application_controller_renderer.rb
- assets.rb
- backtrace_silencers.rb
- content_security_policy.rb
- cookies_serializer.rb
- filter_parameter_logging.rb
- inflections.rb
- mime_types.rb
- wrap_parameters.rb
- en.yml
- application.rb
- boot.rb
- cable.yml
- credentials.yml.enc
- database.yml
- environment.rb
- master.key
- puma.rb
- routes.rb
- spring.rb
- storage.yml
- 20190426155134_create_users.rb
- schema.rb
- seeds.rb
- 404.html
- 422.html
- 500.html
- apple-touch-icon-precomposed.png
- apple-touch-icon.png
- favicon.ico
- robots.txt
- factory_bot.rb
- factory_trace.rb
- factories.rb
- first_spec.rb
- rails_helper.rb
- second_spec.rb
- spec_helper.rb
- .rspec
- .ruby-version
- config.ru
- Gemfile
- package.json
- Rakefile
- manifest.js
- .keep
- application.css
- channel.rb
- connection.rb
- .keep
- application_controller.rb
- application_helper.rb
- application.js
- hello_controller.js
- index.js
- application.js
- application_job.rb
- application_mailer.rb
- .keep
- application_record.rb
- user.rb
- application.html.erb
- mailer.html.erb
- mailer.text.erb
- bundle
- importmap
- rails
- rake
- setup
- development.rb
- production.rb
- test.rb
- assets.rb
- content_security_policy.rb
- filter_parameter_logging.rb
- inflections.rb
- permissions_policy.rb
- en.yml
- application.rb
- boot.rb
- cable.yml
- credentials.yml.enc
- database.yml
- environment.rb
- importmap.rb
- master.key
- puma.rb
- routes.rb
- storage.yml
- 20230526075343_create_users.rb
- schema.rb
- seeds.rb
- .keep
- .keep
- 404.html
- 422.html
- 500.html
- apple-touch-icon-precomposed.png
- apple-touch-icon.png
- favicon.ico
- robots.txt
- factory_bot.rb
- factory_trace.rb
- factories.rb
- first_spec.rb
- rails_helper.rb
- second_spec.rb
- spec_helper.rb
- .keep
- connection_test.rb
- .keep
- .keep
- users.yml
- .keep
- .keep
- .keep
- .keep
- user_test.rb
- .keep
- application_system_test_case.rb
- test_helper.rb
- .keep
- .keep
- config.ru
- Gemfile
- Rakefile
- README.md
- converter_spec.rb
- extract_defined_fixtures_spec.rb
- extract_defined_spec.rb
- extract_used_spec.rb
- find_unused_spec.rb
- trace_reader_spec.rb
- collection_spec.rb
- factory_spec.rb
- trait_spec.rb
- report_writer_spec.rb
- trace_writer_spec.rb
- fixture_tracker_spec.rb
- tracker_spec.rb
- companies.yml
- users.yml
- factories.rb
- spec_helper.rb
- .gitignore
- .rspec
- .rubocop.yml
- CHANGELOG.md
- CODE_OF_CONDUCT.md
- factory_trace.gemspec
- Gemfile
- LICENSE.txt
- Rakefile
- README.md
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/djezzzl/factory_trace
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd factory_trace
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Node.js
쉬움 추천사전 준비물
cd rails-rspec-example
이 프로젝트의 관련 파일이 하위 폴더 안에 있어서, 먼저 그 폴더로 이동합니다.
npm install
package.json에 명시된 라이브러리들을 내려받아 설치합니다.
npm start
개발/실행 서버를 켭니다.
명령어 실행 후 터미널에 나타나는 주소(보통 http://localhost:3000 형태)를 브라우저에서 열어보세요.
3. Ruby
쉬움$ bundle install
Gemfile에 명시된 루비 라이브러리를 설치합니다.
FB_TRACE=trace_only FB_TRACE_FILE=fb_trace_result1.json bundle exec rspec spec/first_spec.rb
이 명령어를 터미널에 그대로 입력해 실행하세요.
FB_TRACE=trace_only FB_TRACE_FILE=fb_trace_result2.json bundle exec rspec spec/second_spec.rb
이 명령어를 터미널에 그대로 입력해 실행하세요.
bundle exec factory_trace fb_trace_result1.json fb_trace_result2.json
이 명령어를 터미널에 그대로 입력해 실행하세요.
FB_TRACE_FILE=fb_report.txt bundle exec factory_trace fb_trace_result1.json fb_trace_result2.json
이 명령어를 터미널에 그대로 입력해 실행하세요.
bundle install이 에러 없이 끝나면 README에 안내된 실행 명령어(예: rails server)로 마저 실행해보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
