No I did not do this on purpose ;)
http://rubyforge.org/frs/?group_id=3D3824
or
gem install verify
or
gem update verify
v 0.3.1
2009-06-24 Verify
-----------------
* Heavy refactoring, the code sucks much less now.
* Trying to get it to run with JRuby --1.9, no such luck, waiting for
the next release.
Enjoy
Robert
--=20
Toutes les grandes personnes ont d=92abord =E9t=E9 des enfants, mais peu
d=92entre elles s=92en souviennent.
All adults have been children first, but not many remember.
[Antoine de Saint-Exup=E9ry]
|
|
0
|
|
|
|
Reply
|
robert.dober (2193)
|
6/24/2009 8:01:06 PM |
|
On Jun 24, 2009, at 13:01 , Robert Dober wrote:
> No I did not do this on purpose ;)
and the lack of a description? was that on purpose too?
> http://rubyforge.org/frs/?group_id=3824
From here I found:
> The Labrador package is to programming what the Labrador bread is to
> dogs, for me. I like it. Very compact enum method API, Ivar Free
> Ruby by means of closure based properties and who knows what will
> come...
nom nom Labrador bread nom
and yet, still no idea what this software is, besides tasty.
|
|
0
|
|
|
|
Reply
|
ryand-ruby (1309)
|
6/24/2009 8:53:33 PM
|
|
On Wed, Jun 24, 2009 at 10:53 PM, Ryan Davis<ryand-ruby@zenspider.com> wrot=
e:
>
This is only a maintenance release I did not want to advertise my tiny
package too much.
I just have no time to update my Rubyforge project homepage, but there
is a short description http://labrador.rubyforge.org/
Here is the README
This is the very simple Verify mini test framework
It emphasises on being able to check things out quickly without having
to load a heavy test
framework.
It evolves around my needs but for the time being it is pretty lightweight.
require 'verify'
Verify "Some Important Facts" do
verify "42 is true" do
42
end
refute "42 is pretty big" do
42 > 100_000
end
verify_exceptions NoMethodError do
42.unrelinguished!
end
end
These forms are very easy to remember, but sometimes one needs to see where=
the
errors, are, in order to achieve that one can use the parameter form
Verify "With parameters" do
verify msg: "Everything is well", target: 42, actual: 21 * 2
refute msg: "But not too much", target: 42, actual: 41
end
Mockify allows to capture stdout or simulate stdin, all you need to do is t=
o
require 'mockify' *before* requiring 'verify' and than you can provide stdi=
n
and get stdout
Verify "Providing stdin" do
with_input %w{The Quick Brown Fox} do
verify %{first line is "The"} do
"The" =3D=3D gets.chomp
end
end
end
Verify "Capturing stdout" do
out =3D with_output do | o |
puts 42
verify target: "42\n", actual: o.string
end
end
verify msg: "with_output converted out to an array of lines",
actual: out.map( &:chomp ),
target: %w{ 42 }
end
Enjoy
--=20
Toutes les grandes personnes ont d=92abord =E9t=E9 des enfants, mais peu
d=92entre elles s=92en souviennent.
All adults have been children first, but not many remember.
[Antoine de Saint-Exup=E9ry]
|
|
0
|
|
|
|
Reply
|
robert.dober (2193)
|
6/24/2009 9:16:50 PM
|
|
|
2 Replies
37 Views
(page loaded in 0.05 seconds)
Similiar Articles: pigz version 2.1.6 released - comp.unix.programmer[ANN]: ActiveSolid Freeware new release: v2.6.2 - comp ... Virus Database: 357 - Release Date: 1 ... I have not looked at P8 v2.0.3 ... For ongoing maintenance releases [comp.publish.cdrom] CD-Recordable FAQ, Part 1/4 - comp.publish ...Archive-name: cdrom/cd-recordable/part1 Posting-Frequency: monthly Last-modified: 2008/10/09 Version: 2.71 Send corrections and updates to And... basic questions about the leapsecond - comp.protocols.time.ntp ...... and put it in /etc 3 - stop and start ntpd 4 - verify the ... version and that the release version is on a different maintenance ... 28259 newpeer: 127.0.0.1->127.127.6.0 mode 3 ... Where did Fortran go? - comp.lang.fortranRefer to the Release Notes for a list of the required ... > > This may be completely subjective, as I did not verify it ... In the OS/2 1.0 days, my first try at running a ... Inventor V's Solidworks - comp.cad.solidworksI believe its around $4995 plus annual maintenance. ... ago, but still very significant, around the 3:1 or 4:1 ... vs. Catia vs. ProE - comp.cad.solidworks Wildfire 3.0 ... 806 refusing to cooperate. - comp.dcom.sys.cisco... ago, Insight performed some "maintenance ... 12.2(4)YH, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1) Router uptime is 1 hour, 3 ... 41: DHCP Lease server: 0.0.0.0, state: 1 ... top 10 uses for random data compression?? anyone? - comp ...... 12/3/2004 1:44:29 AM ... Yet Anne Truitt signed off on the 1995 L. A. Times ... Who locks sooner, when Rasheed voices the asian maintenance ... BlackBerry Enterprise Server for Microsoft ExchangeClick Click here for support information. 5. Verify that the version number is 5.0.1 (Bundle 70 or 72). Maintenance Release Notes Installing the maintenance release BlackBerry Enterprise Server for Microsoft ExchangeVerify that the version number is 5.0.2 MR 4 (Bundle 133). Maintenance Release Notes Verify that you installed the maintenance release on a computer that 7/25/2012 5:06:25 AM
|