Favicon of write-tests

write-tests Skill

AI Agent SkillWriting SkillsPythonOpen source

Guide for writing unit tests. Use this when creating tests to verify Python logic. Published by microsoft in semantic-link-labs.

What is write-tests Skill?

Guide for writing unit tests. Use this when creating tests to verify Python logic. Published by microsoft in semantic-link-labs. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.

Trust signal
95/100
Maintenance signal
90/100
Adoption signal
68/100

Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.

Key capabilities

  • Includes SKILL.md support
  • Reusable instructions support
  • Testing
  • Data analysis
  • Writing
  • Testing use cases
  • Data analysis use cases

Technical details

Copy skill directory
  • Install or run with Copy skill directory

When to use write-tests Skill

  • Use it for testing.
  • Use it for data analysis.
  • Use it for writing.

Built with

PythonCopy skill directory

Editorial notes

Source

  • Creator: microsoft
  • Repository: microsoft/semantic-link-labs
  • Skill file: .claude/skills/write-tests/SKILL.md

What it does

Guide for writing unit tests. Use this when creating tests to verify Python logic.

Skill instructions

Writing Tests This skill covers how to write tests for the Semantic Link Labs project. When to Use This Skill Use this skill when you need to: - Write tests for new functions - Add test coverage for existing code - Test error handling and edge cases - Validate input parsing and data transformations --- Test Framework | Component | Details | |-----------|---------| | Framework | pytest | | Location | tests/ directory | | Assertions | Standard pytest assertions | --- Test File Structure tests/ ├── init.py ├── testhelperfunctions.py ├── testworkspaces.py ├── testadmin.py └── ... Naming Conventions - Test files: test.py or test.py - Test functions: test<functionname<scenario - Test classes: Test<ClassName --- Writing Basic Tests Simple Function Test python import pytest import pandas as pd def testmyfunctionreturnsdataframe(): """Test that myfunction returns a DataFrame.""" from sempylabs import myfunction result = myfunction() assert isinstance(result, pd.DataFrame) def testmyfunctionhase

Explore related resources

Frequently asked questions

What is write-tests?

write-tests is a open-source AI agent skill with Copy skill directory. Guide for writing unit tests. Use this when creating tests to verify Python logic.

Who is write-tests best for?

write-tests is best for reusing agent instructions, scripts, and references, testing workflows, data analysis workflows, writing workflows.

How do I install write-tests?

Install or run write-tests using Copy skill directory. Check write-tests for the latest setup command.

Is write-tests actively maintained?

write-tests may need a closer maintenance check before production use.

Share:

Stars
545
Forks
183
Last commit
10 days ago
Repository age
2 years
License
MIT

Auto-fetched from GitHub.

Similar to write-tests