---
title: Install fail-tester on Linux | Snap Store
description: Get the latest version of fail-tester for Linux - A Snap that fails in
  configurable ways and means
url: https://snapcraft.io/fail-tester
---

# fail-tester

[Adam Collard (sparkiegeek)](https://snapcraft.io/publisher/sparkiegeek "View all snaps from Adam Collard (sparkiegeek)")

* [Adam Collard (sparkiegeek)](https://snapcraft.io/publisher/sparkiegeek "View all snaps from Adam Collard (sparkiegeek)")
* [Development](https://snapcraft.io/search?categories=development)

latest/beta 0+git.7ff1cd6

Install latest/beta of fail-tester

This channel hasn't been updated in a while. It might be unmaintained and have stability or security issues.

---

**Install using the command line**

```
sudo snap install fail-tester --beta
```

Don't have snapd? [Get set up for snaps](https://snapcraft.io/docs/installing-snapd).

fail-tester is only available on the unstable beta channel. It could break and change often.

---

### Package name

* fail-tester

---

### License

* GPL-2.0

---

### Last updated

* 22 February 2019 - latest/beta
* 8 November 2018 - latest/edge

This snap hasn't been updated in a while. It might be unmaintained and have stability or security issues.

---

##### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/fail-tester#report-snap-modal)

---

* [Description](https://snapcraft.io/fail-tester#tab-description)
* [Security](https://snapcraft.io/fail-tester#tab-security)

#### A Snap that fails in configurable ways and means

This snap is useful for testing snap hooks.

By setting configuration on the snap, one can control which hooks will fail.

`$ snap set fail-tester HOOK_NAME=true`

e.g.

`$ snap set fail-tester configure=true`

Will cause the configure hook to fail. To undo this, one clears the setting:

`$ snap set fail-tester configure=`

and the configure hook will work again.

Supported hooks are:

* `configure`
* `install`
* `pre-refresh`
* `post-refresh`

---

## Install fail-tester on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the [installing snapd documentation](https://snapcraft.io/docs/installing-snapd).

[### Arch Linux](https://snapcraft.io/install/fail-tester/arch)

[### CentOS](https://snapcraft.io/install/fail-tester/centos)

[### Debian](https://snapcraft.io/install/fail-tester/debian)

[### elementary OS](https://snapcraft.io/install/fail-tester/elementary)

[### Fedora](https://snapcraft.io/install/fail-tester/fedora)

[### KDE Neon](https://snapcraft.io/install/fail-tester/kde-neon)

[### Kubuntu](https://snapcraft.io/install/fail-tester/kubuntu)

[### Manjaro](https://snapcraft.io/install/fail-tester/manjaro)

[### Pop!\_OS](https://snapcraft.io/install/fail-tester/pop)

[### openSUSE](https://snapcraft.io/install/fail-tester/opensuse)

[### Red Hat Enterprise Linux](https://snapcraft.io/install/fail-tester/rhel)

[### Ubuntu](https://snapcraft.io/install/fail-tester/ubuntu)
