next_gen_rspecs 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 76361ac35beb12113161e14525885fd8b7a59ad275dfa0573ad6cdd08c8a329a
4
+ data.tar.gz: e6c3dd50ebbfc0323fb2b31b5d91d200713282cd4abca652fe9dcddd5a3e29f0
5
+ SHA512:
6
+ metadata.gz: 4251b48c4ceeb97a78c51855c05c3769be97c81f5565f69bc56f413731799954ba128ca89e3616ee89415b73dd95be5ea5e9934837a39b5e6a3957dbbd1d4d5a
7
+ data.tar.gz: 52ec68239872cadf4eb88ba8f61b8ffed8956ab649c6b8488d19c2d0330812762a7a6cfe3daf0fa6ea361b54834108081bb62876f7e087df027b535d7faf4216
data/README.md ADDED
@@ -0,0 +1,31 @@
1
+ # NextGenRspecs
2
+
3
+ TODO: Delete this and the text below, and describe your gem
4
+
5
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/next_gen_rspecs`. To experiment with that code, run `bin/console` for an interactive prompt.
6
+
7
+ ## Installation
8
+
9
+ TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
10
+
11
+ Install the gem and add to the application's Gemfile by executing:
12
+
13
+ $ bundle add UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG
14
+
15
+ If bundler is not being used to manage dependencies, install the gem by executing:
16
+
17
+ $ gem install UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG
18
+
19
+ ## Usage
20
+
21
+ TODO: Write usage instructions here
22
+
23
+ ## Development
24
+
25
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
26
+
27
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
28
+
29
+ ## Contributing
30
+
31
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/next_gen_rspecs.
data/Rakefile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rake/testtask"
5
+
6
+ Rake::TestTask.new(:test) do |t|
7
+ t.libs << "test"
8
+ t.libs << "lib"
9
+ t.test_files = FileList["test/**/test_*.rb"]
10
+ end
11
+
12
+ task default: :test
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module NextGenRspecs
4
+ VERSION = "0.1.0"
5
+ end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "next_gen_rspecs/version"
4
+ require_relative "next_gen_rspecs/cli"
5
+
6
+ module NextGenRspecs
7
+ class Error < StandardError; end
8
+ # Your code goes here...
9
+ end
@@ -0,0 +1,26 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "lib/next_gen_rspecs/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "next_gen_rspecs"
7
+ spec.version = NextGenRspecs::VERSION
8
+ spec.authors = ["Ramy-Huffman-LPL"]
9
+ spec.email = ["ramy@launchpadlab.com"]
10
+ spec.summary = "A RubyGem leveraging AI to generate base test cases for achieving minimum test coverage."
11
+ spec.description = "This gem will utilize artificial intelligence algorithms to analyze the test coverage of RSpec tests. It aims to identify files with the least coverage and generate base test cases to meet the minimum coverage required for passing a test. The generated test cases will assist developers in improving the overall quality and reliability of their Ruby applications."
12
+ # No homepage specified
13
+ spec.required_ruby_version = ">= 2.6.0"
14
+
15
+ # Specify which files should be added to the gem when it is released.
16
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
17
+ spec.files = Dir.chdir(__dir__) do
18
+ `git ls-files -z`.split("\x0").reject do |f|
19
+ (File.expand_path(f) == __FILE__) ||
20
+ f.start_with?(*%w[bin/ test/ spec/ features/ .git .circleci appveyor Gemfile])
21
+ end
22
+ end
23
+ spec.bindir = "exe"
24
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
25
+ spec.require_paths = ["lib"]
26
+ end
@@ -0,0 +1,4 @@
1
+ module NextGenRspecs
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
metadata ADDED
@@ -0,0 +1,53 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: next_gen_rspecs
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Ramy-Huffman-LPL
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2024-02-20 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: This gem will utilize artificial intelligence algorithms to analyze the
14
+ test coverage of RSpec tests. It aims to identify files with the least coverage
15
+ and generate base test cases to meet the minimum coverage required for passing a
16
+ test. The generated test cases will assist developers in improving the overall quality
17
+ and reliability of their Ruby applications.
18
+ email:
19
+ - ramy@launchpadlab.com
20
+ executables: []
21
+ extensions: []
22
+ extra_rdoc_files: []
23
+ files:
24
+ - README.md
25
+ - Rakefile
26
+ - lib/next_gen_rspecs.rb
27
+ - lib/next_gen_rspecs/version.rb
28
+ - next_gen_rspecs.gemspec
29
+ - sig/next_gen_rspecs.rbs
30
+ homepage:
31
+ licenses: []
32
+ metadata: {}
33
+ post_install_message:
34
+ rdoc_options: []
35
+ require_paths:
36
+ - lib
37
+ required_ruby_version: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ version: 2.6.0
42
+ required_rubygems_version: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ requirements: []
48
+ rubygems_version: 3.3.26
49
+ signing_key:
50
+ specification_version: 4
51
+ summary: A RubyGem leveraging AI to generate base test cases for achieving minimum
52
+ test coverage.
53
+ test_files: []