
##### SUMMARY
To be able to show the tests results in the CI, it would be great if we could output the tests results as an xml file :
https://github.com/pester/Pester/wiki/Showing-Test-Results-in-CI-%28TeamCity%2C-AppVeyor%2C-Azure-DevOps%29

##### ISSUE TYPE
- Feature Idea

##### COMPONENT NAME
`win_pester`

##### ADDITIONAL INFORMATION
The usage of this module would match the following playbook : 

```yaml
- name: Get facts
  setup:

- name : Copy test file(s)
   win_copy:
     src: "{{ item }}"
     dest: "{{ remote_test_folder[0] }}"
   with_items: "{{local_test_files}}"

- name: Add Pester module
  action:
    module_name: "{{ 'win_psmodule' if ansible_powershell_version >= 5 else 'win_chocolatey' }}"
    name: Pester
    state: present

- name: Run the pester test present in a folder and check the Pester module version.
  win_pester:
    path: C:\Pester\
    version: 4.1.0
    output_file: C:\Pester\TestsResults.xml
    output_format: JUnitXML

- name: Store file into /tmp
  fetch:
    src: C:\Pester\TestsResults.xml
    dest: /tmp/TestsResults.xml
```



- name: Run the pester tests only for the tags specified.
  win_pester:
    path: C:\Pester\TestScript.tests
    tags: CI,UnitTests
# Run pesters tests files that are present in the specified folder
# ensure that the pester module version available is greater or equal to the version parameter.
- name: Run the pester test present in a folder and check the Pester module version.
  win_pester:
    path: C:\Pester\test01.test.ps1
    version: 4.1.0
- name: Run the pester test present in a folder with given script parameters.
  win_pester:
    path: C:\Pester\test04.test.ps1
    test_parameters:
      Process: lsass
      Service: bits
'''
RETURN = r'''
pester_version:
    description: Version of the pester module found on the remote host.
    returned: always
    type: str
    sample: 4.3.1
output:
    description: Results of the Pester tests.
    returned: success
    type: list
    sample: false
'''