# Akka Getting Started Tutorial

**URL:** <https://discuss.akka.io/t/akka-getting-started-tutorial/1177>\
**Category:** Akka Libraries\
**Created:** [May 31, 2018, 5:39pm UTC](https://discuss.akka.io/t/akka-getting-started-tutorial/1177 "2018-05-31T17:39:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sleepiejohn](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.akka.io/sleepiejohn/32/583_2.png) [@sleepiejohn](https://discuss.akka.io/u/sleepiejohn)\
**Post date:** [May 31, 2018, 5:39pm UTC](https://discuss.akka.io/t/akka-getting-started-tutorial/1177/1 "2018-05-31T17:39:39Z")

</div>

Hi Guys!

I’m doing the Tutorial of the Getting Started section on Akka’s documentation, it is all good and incredible well written, but in [part 3](https://doc.akka.io/docs/akka/2.5/guide/tutorial_3.html) when we starting writing tests, I sense a lack of information on where to get the _implicit system (ActorSystem)_ or how to setup the ScalaTest to use Akka Testkit.

Would be possible to improve the code on the documentation or at least in case it becomes bigger and optionated over the test suite used, we could point the user to [Testkit Docs](https://doc.akka.io/docs/akka/2.5/testing.html) where it has already an example with ScalaTest ?

---

<div class="post-metadata">

**Author:** ![johanandren](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.akka.io/johanandren/32/85_2.png) [@johanandren](https://discuss.akka.io/u/johanandren)\
**Post date:** [June 1, 2018, 6:52am UTC](https://discuss.akka.io/t/akka-getting-started-tutorial/1177/2 "2018-06-01T06:52:55Z")

</div>

Did you start with downloading the sample project as described in the introduction to the getting started? [https://doc.akka.io/docs/akka/current/guide/introduction.html?language=scala#how-to-get-started](https://doc.akka.io/docs/akka/current/guide/introduction.html?language=scala#how-to-get-started)

That should contain complete tests using Scalatest that you can base your tests on.  
(We discussed exactly this recently in an issue, but now I can’t find it)

---

<div class="post-metadata">

**Author:** ![sleepiejohn](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.akka.io/sleepiejohn/32/583_2.png) [@sleepiejohn](https://discuss.akka.io/u/sleepiejohn)\
**Post date:** [June 2, 2018, 2:32am UTC](https://discuss.akka.io/t/akka-getting-started-tutorial/1177/3 "2018-06-02T02:32:13Z")

</div>

Yes I did! But I deleted the test without looking at it first, so really my bad, sorry. So I downloaded it again, seems good to get started and after getting experience on Scalatest one can refine their tests. I could find information that a I needed looking on the documentation 😄

---

<div class="post-metadata">

**Author:** ![johanandren](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.akka.io/johanandren/32/85_2.png) [@johanandren](https://discuss.akka.io/u/johanandren)\
**Post date:** [June 4, 2018, 7:53am UTC](https://discuss.akka.io/t/akka-getting-started-tutorial/1177/4 "2018-06-04T07:53:13Z")

</div>

I created an issue to track adding something clarifying this next to the first test sample: [https://github.com/akka/akka/issues/25193](https://github.com/akka/akka/issues/25193)

---

<div class="post-metadata">

**Author:** ![olimination](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.akka.io/olimination/32/1004_2.png) [@olimination](https://discuss.akka.io/u/olimination)\
**Post date:** [November 15, 2018, 8:47am UTC](https://discuss.akka.io/t/akka-getting-started-tutorial/1177/5 "2018-11-15T08:47:01Z")

</div>

I had the same issue.

Also I opened the “source link” which took me to this page: [https://github.com/akka/akka/tree/v2.5.18/akka-docs/src/test/scala/tutorial\_3/DeviceSpec.scala#L16-L24](https://github.com/akka/akka/tree/v2.5.18/akka-docs/src/test/scala/tutorial_3/DeviceSpec.scala#L16-L24)

with the appropriate code snippet. But this DeviceSpec.scala files uses somehow this “AkkaSpec” object which is not available in a newly setup project. This was a bit misleading. As I have seen this “AkkaSpec” object is only available in the test folder of the akka-testkit module.

I think it makes sense to point there to the official testing doc: [https://doc.akka.io/docs/akka/2.5/testing.html](https://doc.akka.io/docs/akka/2.5/testing.html) and also refer back to the Quickstart sample project.

Thanks @johanandren for creating the issue in Github.

---

<div class="post-metadata">

**Author:** ![olimination](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.akka.io/olimination/32/1004_2.png) [@olimination](https://discuss.akka.io/u/olimination)\
**Post date:** [November 15, 2018, 10:53am UTC](https://discuss.akka.io/t/akka-getting-started-tutorial/1177/6 "2018-11-15T10:53:32Z")

</div>

Have added a first PR here: [https://github.com/akka/akka/pull/25928](https://github.com/akka/akka/pull/25928)
