A PowerShell module that provides commands that create test data.
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
PowerShell because it can be easily accessed from Linux and Windows machines and all of the source it uses is available for inspection.
This means the scripts can be used from editors like VSCode but also GitHub Actions can run them.
This means that security can assure themselves that the code is not harmful.
https://github.com/Simple-Innovation/simple-test-data/blob/main/LICENSE.txt
To get a local copy up and running follow these simple example steps.
If using a system without PowerShell installed, e.g. GitHub CodeSpaces.
-
PowerShell (Ubuntu)
wget -q https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/packages-microsoft-prod.deb -O packages-microsoft-prod.deb sudo dpkg -i packages-microsoft-prod.deb sudo apt update sudo apt install powershell pwsh
-
Clone the repo
git clone https://github.com/Simple-Innovation/simple-test-data.git
-
Install PowerShell Module
Import-Module ./SimpleTestData.psm1
Copy-DataCollection -SourceFolder:./seed/ -TargetFolder:./test/ -MaximumByteTotal:$(10 * 1024)
For more examples, please refer to the Documentation
- Detect empty folders
- Limit based on existing folder size
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
Sebastian Rogers - @SebastianRoger8 - sebastian.rogers@simpleinnovation.co.uk
Project Link: https://github.com/Simple-Innovation/simple-test-data
- digway/LoremIpsum for the Lorem Ipsum generator.