Commit Graph

17 Commits

Author SHA1 Message Date
Jesse Scott e4ef0ed2f8 (MAINT) Fix up rubocop settings and clean up inconsistent indentation 2017-10-20 14:37:28 -07:00
Eric Thompson 7bc5fb7f7f (PDOC-144) acceptance: fix windows pre-suite
* install the correct CAs in the correct places so windows can install gems
* use a gem_command abstraction to find the correct puppet gem exe

[skip ci]
2017-02-07 00:35:33 +00:00
Will Hopper bb9db53702 (PDOC-125) Update JSON acceptance test with signatures changes 2016-11-15 11:01:12 -08:00
Henrik Lindberg 7c475a5095 Merge pull request #105 from whopper/maint/code_coverage
(PDOC-88) Add additional spec and acceptance tests
2016-10-03 13:53:05 +02:00
Will Hopper c5e3d488da (PDOC-106) Add acceptance test for --emit-json CLI options 2016-09-30 16:35:48 -07:00
Will Hopper 3b66f5888f (maint) Refactor `generate` test to use acceptance helper method 2016-09-30 16:35:42 -07:00
Will Hopper 132d39066c (maint) Add acceptance libdir and Util helper module 2016-09-30 16:35:32 -07:00
Will Hopper 3af15ce4f1 (PDOC-88) Add tests for types and providers into acceptance 2016-09-30 15:08:19 -07:00
Will Hopper beb79d3a63 (PDOC-88) Add acceptance test for puppet functions 2016-09-30 13:39:09 -07:00
Peter Huene e5577e199c
(PDOC-63) Restore acceptance test to the spec directory.
Previously the acceptance test was implemented under the `spec` directory and
was moved out to a top level `acceptance` directory.

This broke the expected location for the node configuration files.

This commit puts the acceptance test back where it was previously.

Also fixes a failure in the test now that Markdown is the default markup
language used.
2016-09-16 15:42:00 -07:00
Peter Huene cf77ef1379
(PDOC-63) Add specs to test the new implementation.
This commit adds specs to cover parts of the new implementation of Puppet
Strings.
2016-09-15 17:15:54 -07:00
Spencer McElmurry c6de41e6b9 (QENG-3888) Remove static nodeset, use beaker-hostgenerator
This is additional work for QENG-3888 in ci-job-configs. We were using static
nodesets within specs/acceptance/nodesets before and this commit will instead use beaker-hostgenerator
to get the specified platform .yml configurations.
2016-06-20 14:13:41 -07:00
Hailee Kenney a6e5a806be (maint) Update hostfile for acceptance test
Prior to this commit, strings had a hostfile that was using an old
format that is no longer compatible with beaker which was causing
the acceptance tests to fail.

Update the hostfile so that it works.
2016-05-11 16:05:02 -07:00
Hailee Kenney b8a23d3617 (maint) Update acceptance tests to use gem
Prior to this commit, the acceptance tests were trying to install
strings as a module and failing due to the fact that strings has
transition to a gem and does not have metadata. Update the tests
so that they install strings as a gem instead.
2016-05-02 15:00:38 -07:00
Hailee Kenney 3edf7347df (maint) Remove rspec-html-matchers from acceptance
Prior to this commit, the acceptance tests were using the
rspec-html-matchers gem which we had removed because it does not
work with rspec 3.

In order to make the acceptance tests compatible with this change,
use string matching to check the HTML output instead and remove
the dependency on that gem.
2015-07-06 11:55:59 -07:00
Hailee Kenney d4059b6857 (PDOC-9) Update acceptance take task for Jenkins
In order to allow for multiple platforms on Jenkins, use the
platform environment variable in the rake task for acceptance tests
to determine which platform to run on.
2014-10-06 15:25:36 -07:00
Hailee Kenney ee6997cd24 (PDOC-9) Add preliminary full system test
In order to help ensure that the strings module is not broken
during development, add a full system integration test which can
run at regular intervals to ensure that the module is working as
expected.

The test installs the string module as well as a test module which
contains the different types of puppet and ruby code that the strings
module can document. It then runs strings and ensures that the HTML
generated is correct.

Additionally, make some changes to the Gemfile to allow strings to
be run as a gem even if it isn't installed in the modulepath. Also
make a few changes to the unit tests to make them compatible with
the version of rspec required by Beaker.
2014-10-06 10:08:30 -07:00