Module: Testivai
- Defined in:
- lib/testivai.rb,
lib/testivai/shard.rb,
lib/testivai/config.rb,
lib/testivai/settle.rb,
lib/testivai/capture.rb,
lib/testivai/version.rb,
lib/testivai/element_map.rb
Overview
TestivAI — local-first visual regression testing for Ruby test suites.
require "testivai"
it "renders the homepage" do
visit "/"
Testivai.witness(page, "homepage")
end
Then compare and build the report:
npx testivai report
Defined Under Namespace
Modules: Capture, Config, ElementMap, Settle, Shard
Constant Summary collapse
- VERSION =
"0.2.0"
Class Method Summary collapse
-
.witness(session, name, **options) ⇒ Object
Capture a snapshot.