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

Implement tests similar to bats tests for windows #18475

Closed
brwe opened this issue May 19, 2016 · 3 comments
Closed

Implement tests similar to bats tests for windows #18475

brwe opened this issue May 19, 2016 · 3 comments
Assignees
Labels
>test Issues or PRs that are addressing/adding tests

Comments

@brwe
Copy link
Contributor

brwe commented May 19, 2016

We test basic installing and options in our vagrant tests on some systems but so far not on windows. We need that though because every now and then we break elasticserch for windows and then only find out via bug reports (see for example #18473, #16086). We need something similar to the bats tests for windows. It might not be possible to provide a public windows image but at least there needs to be a way to test basic functionality for people that have access to one.

@brwe brwe added >test Issues or PRs that are addressing/adding tests v5.0.0-alpha3 labels May 19, 2016
@Mpdreamz
Copy link
Member

cc @elastic/microsoft it'd be good if we take ownership of this one. We need to write similar vagrant tests for our msi in the coming weeks too.

@StefanScherer
Copy link
Contributor

I did some Cucumber tests running against Vagrant boxes with the vagrant-cucumber plugin https://github.com/scalefactory/vagrant-cucumber

With linked clone support in Vagrant 1.8 it should be really fast to reset the VM between each test to have a clean base environment to install MSI package etc. again and again.

Here is a sample for a Linux box: https://github.com/StefanScherer/cups-cucumber-test/blob/master/features/lpr.feature

And this works for Windows VM's as well. I've some (sorry closed source) Windows environments running with VirtualBox Vagrant Boxes.

Just my two cent.

@jasontedor
Copy link
Member

Superseded by #18475

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>test Issues or PRs that are addressing/adding tests
Projects
None yet
Development

No branches or pull requests

5 participants