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

(FM-3924) Create Master/Agent automation test for Puppetlabs-motd #29

Conversation

phongdly
Copy link
Contributor

This PR has one test case of creating /etc/motd file using content parameter, the test case is located at puppetlabs-motd/tests/beaker/tests/01_create_motd_content.rb

The PR also uses Test Organization in Module Repositories as specified in https://confluence.puppetlabs.com/pages/viewpage.action?spaceKey=ENG&title=Test+Tiering+for+the+Modules+Team document written by @cowofevil

@cowofevil
Copy link

Why is there so many Beaker host files included? I feel like we could use a much smaller subset.

@@ -0,0 +1,15 @@
require 'master_manipulator'
test_name 'FM-3804 - C61700 - Install Puppet Enterprise'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The FM-3804 ticket referenced here is associated with Websphere.

@cowofevil
Copy link

You should add a README for the tests folder with some information about running the tests. Especially given the fact that the tests are only runnable inside Puppet Labs. Here is an example from DSC: https://github.com/puppetlabs/puppetlabs-dsc/tree/master/tests


# Init
step 'Install PE'
install_pe

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no requirement that PE be used for the master. You could use the FOSS stuff instead.

@phongdly phongdly changed the title (FM-3918) Start QA review of Puppetlabs-motd module WIP (FM-3924) Start QA review of Puppetlabs-motd module Dec 1, 2015
@phongdly phongdly changed the title WIP (FM-3924) Start QA review of Puppetlabs-motd module WIP (FM-3924) Create Master/Agent automation test for Puppetlabs-motd Dec 1, 2015
@phongdly phongdly changed the title WIP (FM-3924) Create Master/Agent automation test for Puppetlabs-motd (FM-3924) Create Master/Agent automation test for Puppetlabs-motd Dec 8, 2015
@phongdly phongdly force-pushed the FM-3918/start_qa_review_of_puppetlabs-motd_module branch 2 times, most recently from a9e7217 to 7805160 Compare December 15, 2015 20:46
@phongdly phongdly force-pushed the FM-3918/start_qa_review_of_puppetlabs-motd_module branch from 7805160 to 2600a9e Compare December 15, 2015 21:02
else
gem 'beaker-rspec', :require => false
end
gem 'serverspec', :require => false

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have duplicate entry for "serverspec". Only specify the dependency one time.

cowofevil pushed a commit that referenced this pull request Dec 15, 2015
…tlabs-motd_module

(FM-3924) Create Master/Agent automation test for Puppetlabs-motd
@cowofevil cowofevil merged commit 6b124f7 into puppetlabs:master Dec 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants