# Unit testing of OPAL/DataSHIELD installation

**URL:** <https://datashield.discourse.group/t/unit-testing-of-opal-datashield-installation/601>\
**Category:** New functionality\
**Created:** [16 August 2022 09:29 UTC](https://datashield.discourse.group/t/unit-testing-of-opal-datashield-installation/601 "2022-08-16T09:29:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wilmar.igl](https://avatars.discourse-cdn.com/v4/letter/w/7993a0/32.png) [@wilmar.igl](https://datashield.discourse.group/u/wilmar.igl)\
**Post date:** [16 August 2022 09:29 UTC](https://datashield.discourse.group/t/unit-testing-of-opal-datashield-installation/601/1 "2022-08-16T09:29:10Z")

</div>

Hi, as a beginner I find the installation of a DataShield cluster not straightforward. I wonder whether a unit testing script checking the functioning of the required components with references to relevant online documentation may be useful for noobs?

Best, Wilmar

---

<div class="post-metadata">

**Author:** ![swheater](https://yyz2.discourse-cdn.com/free1/user_avatar/datashield.discourse.group/swheater/32/182_2.png) [@swheater](https://datashield.discourse.group/u/swheater)\
**Post date:** [16 August 2022 11:03 UTC](https://datashield.discourse.group/t/unit-testing-of-opal-datashield-installation/601/2 "2022-08-16T11:03:36Z")

</div>

Wilmar,

The dsBaseClient testthat unit tests can be used to exercise a deployment of dsBaseClient on an Opal server. The major inconvenience is installing the 32 test datasets (a single script could be developed soon).

Stuart

---

<div class="post-metadata">

**Author:** ![wilmar.igl](https://avatars.discourse-cdn.com/v4/letter/w/7993a0/32.png) [@wilmar.igl](https://datashield.discourse.group/u/wilmar.igl)\
**Post date:** [16 August 2022 11:12 UTC](https://datashield.discourse.group/t/unit-testing-of-opal-datashield-installation/601/3 "2022-08-16T11:12:30Z")

</div>

Thanks, 32 test datasets (!) sound like an overkill though. I was thinking about a basic check of the installed software components (OPAL, R, MySQL, ROCK, …) to get started, and not necessarily testing each DataSHIELD function.
