https://github.com/editorconfig/editorconfig-plugin-tests
Tests for EditorConfig plugins
https://github.com/editorconfig/editorconfig-plugin-tests
Last synced: 8 months ago
JSON representation
Tests for EditorConfig plugins
- Host: GitHub
- URL: https://github.com/editorconfig/editorconfig-plugin-tests
- Owner: editorconfig
- License: cc-by-4.0
- Created: 2012-07-31T17:33:51.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2025-04-05T04:35:30.000Z (about 1 year ago)
- Last Synced: 2025-04-22T22:54:06.544Z (about 1 year ago)
- Language: Python
- Size: 20.5 KB
- Stars: 16
- Watchers: 13
- Forks: 11
- Open Issues: 2
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
Tests for EditorConfig Plugins
==============================
There is currently no way to automate tests for EditorConfig plugins like there
is for the EditorConfig core libraries. This repository contains instructions
to help developers manually test their EditorConfig plugins.
Running Tests
-------------
The ``tests`` directory contains instructions for testing various EditorConfig
properties. The ``test_files`` directory contains the test files referenced in
these instructions.
Tests should be run by opening up each relevant file in the ``tests``
directory, running through the tests in the file and verifying that the
expected behavior is observed.
After running each test the files in the git repository should be reverted and
any newly created files should be deleted. To revert files in the git
repository use:
git checkout -- test_files/
License
-------
This work is licensed under the Creative Commons Attribution 4.0 International
License. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/
or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.