ebouchut + before   10

grosser/maxitest: Minitest + all the features you always wanted.
"
Ctrl+c stops tests and prints failures
pastable rerun snippet for failures
multiple before & after blocks
around blocks around { |t| Dir.chdir(...) { t.call } }
red-green output
mtest executable to run by line number and by folder
full backtrace for errors and assertions with verbose (-v)
let!
let_all execute once for all tests in a class and it's subclasses
order_dependent! to make your tests run in given order
Maxitest.static_class_order = true no longer sort tests class/sub-classes in random order
context for more expression
pending { assert false } is skip when it fails, but fails when it passes
implicit subject via require 'maxitest/im skip plicit_subject'
xit to skip test (also does not call setup or teardown)
"
minitest  test  ruby  rails  rubyonrails  gem  add-on  extension  stack  trace  context  before  after  multiple  around  order  dependent  exit 
february 2016 by ebouchut
grosser/maxitest: Minitest + all the features you always wanted.
* Ctrl+c stops tests and prints failures
* pastable rerun snippet for failures
* multiple before & after blocks
* around blocks around { |t| Dir.chdir(...) { t.call } }
* red-green output
* mtest executable to run by line number and by folder
* full backtrace for errors and assertions with verbose (-v)
* let!
* order_dependent! to make your tests run in given order
* context for more expression
* pending { assert false } is skip when it fails, but fails when it passes
* implicit subject via require 'maxitest/implicit_subject'
* xit to skip test (also does not call setup or teardown)
minitest  extension  context  backtrace  before  after  color  from pocket
november 2014 by ebouchut
A Whole Bunch of Amazing Stuff Pseudo Elements Can Do
"It's pretty amazing what you can do with the pseudo elements :before and :after. For every element on the page, you get two more free ones that you can do just about anything another HTML element could do. They unlock a whole lot of interesting design possibilities without negatively affecting the semantics of your markup."
element  before  after  selector  class  pseudo  design  web  css3  css 
march 2012 by ebouchut

Copy this bookmark:



description:


tags: