didnt 0.0.0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +20 -0
- data/LICENSE.txt +21 -0
- data/README.rdoc +46 -0
- data/Rakefile +5 -0
- data/didnt.gemspec +23 -0
- data/lib/didnt.rb +5 -0
- data/lib/didnt/version.rb +3 -0
- data/tests/.gitkeep +1 -0
- metadata +82 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: ee7215de0c23aeabb3a24f265a2a2897f7f95d7e
|
4
|
+
data.tar.gz: 2ec5cf4de49e5d70c7fc917a3b9dacfa20fc3d80
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 150560da7453f79516aeb21164c2ce923e764eaccd4cb805709c1a25da3efc5a7bcc88bf2074074d7590b8a32921664c7b01c05d102daa99947a6435e57d53b7
|
7
|
+
data.tar.gz: 8d9aee2f7cc2688a2825308f7ce705db0e0818eda7f6d6dadb3b3e891ef475af649e8e2c8299fc45bc4a820923cbdae2f845f02cf04281143283ab78b9e60efb
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2015 David Davis
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.rdoc
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
= Didn't
|
2
|
+
|
3
|
+
This is Didn't, the testing framework. It was originally designed in Ruby (note the rake task) but can be used with any programming language.
|
4
|
+
|
5
|
+
== What is Didn't?
|
6
|
+
|
7
|
+
Didn't is a testing framework that aims to be lightweight and helps to cut down on new development time by as much as 30-60%. However, the cost for this gain is usually incurred in the support phase. Didn't has been influenced by other testing methodologies such as Testing by Compilation and HDD (Hope-Driven Development).
|
8
|
+
|
9
|
+
== How do I use Didn't?
|
10
|
+
|
11
|
+
The developers of Didn't really invisioned the Didn't development process to be carried out in four to ∞ steps.
|
12
|
+
|
13
|
+
1. Write your code.
|
14
|
+
2. Deploy directly to production.
|
15
|
+
3. Communicate with users to find out what's broken.
|
16
|
+
4. Fix bugs directly in production.
|
17
|
+
5. Repeat steps 3 to 4 until users stop bitching.
|
18
|
+
|
19
|
+
Note that installing Didn't is completely optional. Not installing Didn't is just as effective in terms of testing as installing Didn't.
|
20
|
+
|
21
|
+
== What features does Didn't include?
|
22
|
+
|
23
|
+
Didn't is still under development but this initial release, 0.0.0.0.1, includes the following features:
|
24
|
+
|
25
|
+
1. If you run the rake task, it will let you know if you have ruby and rake installed on your computer.
|
26
|
+
2. Installing Didn't will confirm that you have git on your computer (unless you used subversion to install Didn't or copied it from someone else).
|
27
|
+
3. Didn't automates the testing process for you.
|
28
|
+
4. Didn't cuts down on development time by as much as 40-70%.
|
29
|
+
5. If you installed Didn't and your code blows up, there is something wrong.
|
30
|
+
6. If you're reading this on Github then your internet is working or was probably working at one point.
|
31
|
+
7. There is no number 7.
|
32
|
+
|
33
|
+
== How do I install and run Didn't?
|
34
|
+
|
35
|
+
Run the following commands to install Didn't:
|
36
|
+
|
37
|
+
git clone https://github.com/daviddavis/didnt.git
|
38
|
+
|
39
|
+
Then use this to run Didn't (although this is completely optional):
|
40
|
+
|
41
|
+
cd didnt
|
42
|
+
rake test
|
43
|
+
|
44
|
+
== Future improvements to this README
|
45
|
+
|
46
|
+
How to install Didn't into a Rails project.
|
data/Rakefile
ADDED
data/didnt.gemspec
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'didnt/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "didnt"
|
8
|
+
spec.version = Didnt::VERSION
|
9
|
+
spec.authors = ["David Davis"]
|
10
|
+
spec.email = ["david@memorious.net"]
|
11
|
+
|
12
|
+
spec.summary = %q{Didnt, a testing framework for the lazy and disillusioned.}
|
13
|
+
spec.homepage = "http://github.com/daviddavis/didnt"
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
17
|
+
spec.bindir = "exe"
|
18
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_development_dependency "bundler", "~> 1.10"
|
22
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
23
|
+
end
|
data/lib/didnt.rb
ADDED
data/tests/.gitkeep
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
DO NOT PLACE TESTS IN THIS FOLDER!!
|
metadata
ADDED
@@ -0,0 +1,82 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: didnt
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- David Davis
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-09-18 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.10'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.10'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
description:
|
42
|
+
email:
|
43
|
+
- david@memorious.net
|
44
|
+
executables: []
|
45
|
+
extensions: []
|
46
|
+
extra_rdoc_files: []
|
47
|
+
files:
|
48
|
+
- Gemfile
|
49
|
+
- Gemfile.lock
|
50
|
+
- LICENSE.txt
|
51
|
+
- README.rdoc
|
52
|
+
- Rakefile
|
53
|
+
- didnt.gemspec
|
54
|
+
- lib/didnt.rb
|
55
|
+
- lib/didnt/version.rb
|
56
|
+
- tests/.gitkeep
|
57
|
+
homepage: http://github.com/daviddavis/didnt
|
58
|
+
licenses:
|
59
|
+
- MIT
|
60
|
+
metadata: {}
|
61
|
+
post_install_message:
|
62
|
+
rdoc_options: []
|
63
|
+
require_paths:
|
64
|
+
- lib
|
65
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - ">="
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '0'
|
75
|
+
requirements: []
|
76
|
+
rubyforge_project:
|
77
|
+
rubygems_version: 2.4.6
|
78
|
+
signing_key:
|
79
|
+
specification_version: 4
|
80
|
+
summary: Didnt, a testing framework for the lazy and disillusioned.
|
81
|
+
test_files: []
|
82
|
+
has_rdoc:
|