Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write spec test to cover not covered Ruby files (up 80%) #10

Closed
cardil opened this issue Sep 25, 2015 · 1 comment
Closed

Write spec test to cover not covered Ruby files (up 80%) #10

cardil opened this issue Sep 25, 2015 · 1 comment

Comments

@cardil
Copy link
Collaborator

cardil commented Sep 25, 2015

Currentlly only those Ruby files are covered by spec tests:

lib/facter/jboss_running.rb
lib/puppet/provider/jboss_jdbcdriver/jbosscli.rb
lib/puppet/provider/jboss_datasource/jbosscli.rb
lib/puppet/provider/jbosscli.rb
lib/facter/jboss_fullconfig.rb
lib/facter/jboss_configfile.rb
lib/puppet/parser/functions/jboss_to_bool.rb
lib/puppet/parser/functions/jboss_to_i.rb
lib/puppet/parser/functions/jboss_to_s.rb
lib/puppet/type/jboss_datasource.rb
lib/puppet/type/jboss_jdbcdriver.rb
lib/puppet_x/coi/jboss/configuration.rb
lib/puppet_x/coi/jboss/functions/jboss_to_bool.rb
lib/puppet_x/coi/jboss/functions/jboss_to_i.rb
lib/puppet_x/coi/jboss/functions/jboss_to_s.rb
lib/puppet_x/coi/jboss/provider/datasource/post_wildfly_provider.rb
lib/puppet_x/coi/jboss/provider/datasource/pre_wildfly_provider.rb

Does files needs to be covered:

lib/puppet/type/jboss_resourceadapter.rb
lib/puppet/type/jboss_confignode.rb
lib/puppet/type/jboss_jmsqueue.rb
lib/puppet/type/jboss_securitydomain.rb
lib/puppet/type/jboss_deploy.rb
lib/puppet/parser/functions/jboss_short_version.rb
lib/puppet/parser/functions/jboss_basename.rb
lib/puppet/parser/functions/jboss_type_version.rb
lib/puppet/parser/functions/jboss_hash_setvalue.rb
lib/puppet/parser/functions/jboss_dirname.rb
lib/puppet/provider/jboss_resourceadapter/jbosscli.rb
lib/puppet/provider/jboss_confignode/jbosscli.rb
lib/puppet/provider/jboss_jmsqueue/jbosscli.rb
lib/puppet/provider/jboss_securitydomain/jbosscli.rb
lib/puppet/provider/jboss_deploy/jbosscli.rb
@cardil cardil added this to the v1.0.1 - MintyFrost milestone Sep 25, 2015
@cardil cardil modified the milestones: v1.0.1 - MintyFrost, v1.0.2 - RubyCake Oct 22, 2015
@cardil cardil changed the title Write spec test to cover not covered Ruby files Write spec test to cover not covered Ruby files (up 80%) Dec 4, 2015
Cosaquee pushed a commit that referenced this issue Dec 21, 2015
Cosaquee pushed a commit that referenced this issue Dec 21, 2015
Cosaquee pushed a commit that referenced this issue Dec 22, 2015
Cosaquee pushed a commit that referenced this issue Dec 22, 2015
Cosaquee pushed a commit that referenced this issue Jan 4, 2016
Cosaquee pushed a commit that referenced this issue Jan 5, 2016
Cosaquee pushed a commit that referenced this issue Jan 5, 2016
Cosaquee pushed a commit that referenced this issue Jan 5, 2016
Cosaquee pushed a commit that referenced this issue Jan 7, 2016
Cosaquee pushed a commit that referenced this issue Jan 14, 2016
Cosaquee pushed a commit that referenced this issue Jan 14, 2016
Cosaquee pushed a commit that referenced this issue Jan 18, 2016
Cosaquee pushed a commit that referenced this issue Jan 18, 2016
Cosaquee pushed a commit that referenced this issue Jan 20, 2016
Cosaquee pushed a commit that referenced this issue Jan 20, 2016
Cosaquee pushed a commit that referenced this issue Jan 20, 2016
Cosaquee pushed a commit that referenced this issue Jan 20, 2016
Cosaquee pushed a commit that referenced this issue Jan 20, 2016
cardil pushed a commit that referenced this issue Jan 20, 2016
cardil pushed a commit that referenced this issue Jan 20, 2016
@cardil cardil added the tests label Jan 22, 2016
Cosaquee pushed a commit that referenced this issue Jan 22, 2016
Cosaquee pushed a commit that referenced this issue Jan 22, 2016
cardil pushed a commit that referenced this issue Jan 22, 2016
Also fixing couple of errors and copy-pastes by mister @Cosaque :-P
cardil pushed a commit that referenced this issue Jan 22, 2016
Also fixing couple of errors and copy-pastes by mister @Cosaquee :-P
cardil pushed a commit that referenced this issue Jan 26, 2016
cardil pushed a commit that referenced this issue Jan 26, 2016
Cosaquee pushed a commit that referenced this issue Jan 26, 2016
cardil pushed a commit that referenced this issue Jan 29, 2016
cardil added a commit that referenced this issue Jan 29, 2016
Enhancement #10: Raising coverage to more then 80% and cover all Ruby source files
@cardil
Copy link
Collaborator Author

cardil commented Jan 29, 2016

Fixed by merging PR #46

@cardil cardil closed this as completed Jan 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants