@@ -0,0 +1,860 @@
+package com.github.havarunner.beforeafter;%0A%0Aimport com.github.havarunner.HavaRunner;%0Aimport com.github.havarunner.annotation.AfterAll;%0Aimport org.junit.Test;%0Aimport org.junit.runner.notification.RunNotifier;%0A%0Aimport static org.junit.Assert.assertEquals;%0Aimport static org.junit.Assert.fail;%0A%0Apublic class AfterAllFails %7B%0A%0A    @Test%0A    public void HavaRunner_will_propagate_AfterAll_exceptions() %7B%0A        try %7B%0A            new HavaRunner(WithAfterAll.class).run(new RunNotifier());%0A            fail(%22Should have thrown an exception%22);%0A        %7D catch (Exception e) %7B%0A            assertEquals(IllegalArgumentException.class, e.getCause().getClass());%0A        %7D%0A    %7D%0A%0A    static class WithAfterAll %7B%0A        @Test%0A        void test() %7B%7D%0A%0A        @AfterAll%0A        void afterAll() %7B%0A            throw new IllegalArgumentException(%22Expected%22);%0A        %7D%0A    %7D%0A%7D%0A

Add spec for @AfterAll failures