Skip to content

Commit

Permalink
Setup tests correctly for #159
Browse files Browse the repository at this point in the history
  • Loading branch information
Dylan Ratcliffe committed Mar 8, 2018
1 parent f89d8a7 commit fe6bbe7
Show file tree
Hide file tree
Showing 10 changed files with 2 additions and 92 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

35 changes: 2 additions & 33 deletions spec/fixtures/controlrepos/function_mocking/spec/onceover.yaml
Original file line number Diff line number Diff line change
@@ -1,33 +1,11 @@
# Classes to be tested
classes:
- role::database_server
- role::webserver
- role::example
- role::test_functions

# Nodes to tests classes on, this refers to a 'factset' or 'nodeset'
# depending on weather you are running 'spec' or 'acceptance' tests
nodes:
- AIX-7.1-powerpc
- SLES-12.1-64
- Debian-6.0.10-32
- CentOS-6.6-64
- Ubuntu-12.04-32
- Ubuntu-12.04-64
- CentOS-6.6-32
- Debian-6.0.10-64
- AIX-6.1-powerpc
- Windows_Server-2012r2-64
- Debian-7.8-32
- Windows_Server-2008r2-64
- SLES-11.3-64
- Debian-7.8-64
- solaris-10_u9-sparc-64
- solaris-11.2-sparc-64
- Ubuntu-14.04-32
- CentOS-5.11-64
- CentOS-5.11-32
- CentOS-7.0-64
- Ubuntu-14.04-64

# You can group classes here to save typing
class_groups:
Expand All @@ -37,25 +15,16 @@ class_groups:
# give you Windows vagrant boxes to test with because licensing,
# we can give you fact sets though so go crazy with spec testing!
node_groups:
windows_nodes:
- Windows_Server-2012r2-64
- Windows_Server-2008r2-64
non_windows_nodes:
include: 'all_nodes'
exclude: 'windows_nodes'

test_matrix:
- all_nodes:
classes: 'all_classes'
tests: 'spec'
- non_windows_nodes:
classes: 'all_classes'
tests: 'acceptance'

functions:
string:
type: rvalue
returns: "string"
returns: string
number:
type: rvalue
returns: 400
Expand Down

This file was deleted.

0 comments on commit fe6bbe7

Please sign in to comment.