# \#plunit

**URL:** https://swi-prolog.discourse.group/tag/plunit/81.md

[Latest](https://swi-prolog.discourse.group/latest.md) · [Categories](https://swi-prolog.discourse.group/categories.md) · [Tags](https://swi-prolog.discourse.group/tags.md)

---

## [Unit test](https://swi-prolog.discourse.group/t/unit-test/6277)

<div class="topic-metadata">

**Author:** [@heiheshang](https://swi-prolog.discourse.group/u/heiheshang)\
**Replies:** 16\
**Last updated:** [December 19, 2023, 9:27am UTC](https://swi-prolog.discourse.group/t/unit-test/6277 "2023-12-19T09:27:23Z")

</div>

how do you test requests to external services in tests? how to make mock ?

---

## [PlUnit extension](https://swi-prolog.discourse.group/t/plunit-extension/3644)

<div class="topic-metadata">

**Author:** [@marcoxa](https://swi-prolog.discourse.group/u/marcoxa)\
**Replies:** 7\
**Last updated:** [February 28, 2021, 9:06am UTC](https://swi-prolog.discourse.group/t/plunit-extension/3644 "2021-02-28T09:06:21Z")

</div>

Hi, I have been using PlUnit for years to grade students’ projects. On feature that I always wanted is to (1) run a test battery and (2) check the results afterward. Alas, as with many unit test libraries in several l…
