jcabi / jcabi-beanstalk-maven-plugin

Maven Plugin for AWS Elastic Beanstalk
http://beanstalk.jcabi.com/
Other
11 stars 10 forks source link

WarFileTest.checkEbextensionsValidityThrowsExceptionNoDir broken. #19

Open nhekfqn opened 9 years ago

nhekfqn commented 9 years ago

That test does not actually check that exception is thrown. If no exception is thrown, assert will not be called and test will pass.

@Test
    public void checkEbextensionsValidityThrowsExceptionNoDir()
        throws IOException {
        final ZipFile zip = Mockito.mock(ZipFile.class);
        Mockito.when(zip.getEntry(".ebextensions")).thenReturn(null);
        final WarFile war = new WarFile(zip);
        try {
            war.checkEbextensionsValidity();
        } catch (final MojoFailureException exception) {
            MatcherAssert.assertThat(
                exception.getMessage(),
                Matchers.equalTo(
                    ".ebextensions directory does not exist in the WAR file"
                )
            );
        }
dmarkov commented 9 years ago

I am aware of the task, give me some time to find a developer...

dmarkov commented 9 years ago

@nhekfqn many thanks, 15 mins added to your acc for reporting this bug, pmt ID 51683468

nhekfqn commented 9 years ago

@dmarkov Can I ask to assign this to me?

dmarkov commented 9 years ago

@apocarteres the issue is yours, please help

dmarkov commented 9 years ago

@tmjee the task is for you now, follow these guidelines. Don't hesitate to ask any technical questions right here... This task's budget is 30 mins. This is exactly how much will be paid when the problem explained above is solved. See this for more information

tmjee commented 9 years ago

@dmarkov fixed in pull request #29

tmjee commented 9 years ago

@nhekfqn Merged. Pls close this issue. Thx

dmarkov commented 9 years ago

@dmarkov fixed in pull request #29

@tmjee OK thanks

dmarkov commented 8 years ago

@prondzyn it's your task, go ahead

prondzyn commented 8 years ago

@dmarkov I reviewed history of this task, PR, and source code and this issue is already fixed adding extra checking.

Please see line: https://github.com/jcabi/jcabi-beanstalk-maven-plugin/blob/master/src/test/java/com/jcabi/beanstalk/maven/plugin/GenericMojoTest.java#L178

In meanwhile the problematic test was renamed and moved to GenericMojoTest class.

I will ask task author to close this ticket.

prondzyn commented 8 years ago

@nhekfqn please close the issue. It was already fixed in PR #29.

prondzyn commented 8 years ago

@nhekfqn ping

prondzyn commented 8 years ago

@dmarkov looks like author of this task is no longer active on GitHub - zero commits through last year. But the issue is fixed as I mentioned before. Can you close the task or do something about it?

prondzyn commented 8 years ago

@nhekfqn I'm asking once again, please close the issue. It was already fixed in PR #29.

prondzyn commented 8 years ago

@dmarkov still does not respond. What should I do with this task?

dmarkov commented 8 years ago

@dmarkov looks like author of this task is no longer active on GitHub - zero commits through last year. But the issue is fixed as I mentioned before. Can you close the task or do something about it?

@prondzyn sure

prondzyn commented 8 years ago

@dmarkov can you close the task?

dmarkov commented 8 years ago

@prondzyn this task is in your hands for 16 days already

added -30 to your rating, now it is equal to +60

prondzyn commented 8 years ago

@dmarkov why? I was asking you 10 days ago about closing this task:

@dmarkov looks like author of this task is no longer active on GitHub - zero commits through last year. But the issue is fixed as I mentioned before. Can you close the task or do something about it?

@prondzyn sure

prondzyn commented 8 years ago

@dmarkov please close the task

dmarkov commented 8 years ago

@dmarkov please close the task

@prondzyn thanks

dmarkov commented 8 years ago

@prondzyn the task is overdue, and I have to re-assign it to someone else. Please, stop working with it immediately. In general, we're against overdue tasks, check this page... -60 to your rating, your total score is -30

prondzyn commented 8 years ago

@dmarkov this stinks. @yegor256 I know that you will say same as @dmarkov but please review history of this task and my comments. I reviewed it and contacted with an author but he is no longer active. I know the "no obligations" and other rules but there are some lack with them in some cases. Think about it.

dmarkov commented 8 years ago

@dmarkov this stinks. @yegor256 I know that you will say same as @dmarkov but please review history of this task and my comments. I reviewed it and contacted with an author but he is no longer active. I know the "no obligations" and other rules but there are some lack with them in some cases. Think about it.

@prondzyn @yegor256 could you please help us here?