{"action":"created","issue":{"url":"https://api.github.com/repos/ScottLogic/data-engineering-generator/issues/191","repository_url":"https://api.github.com/repos/ScottLogic/data-engineering-generator","labels_url":"https://api.github.com/repos/ScottLogic/data-engineering-generator/issues/191/labels{/name}","comments_url":"https://api.github.com/repos/ScottLogic/data-engineering-generator/issues/191/comments","events_url":"https://api.github.com/repos/ScottLogic/data-engineering-generator/issues/191/events","html_url":"https://github.com/ScottLogic/data-engineering-generator/issues/191","id":380337454,"node_id":"MDU6SXNzdWUzODAzMzc0NTQ=","number":191,"title":"Cucumber BeforeOrAt: User requires to create a temporal field with date (YYYY-MM-DD) values within a given month that are less than or the same as a specified date","user":{"login":"cakehurstryan","id":43746958,"node_id":"MDQ6VXNlcjQzNzQ2OTU4","avatar_url":"https://avatars1.githubusercontent.com/u/43746958?v=4","gravatar_id":"","url":"https://api.github.com/users/cakehurstryan","html_url":"https://github.com/cakehurstryan","followers_url":"https://api.github.com/users/cakehurstryan/followers","following_url":"https://api.github.com/users/cakehurstryan/following{/other_user}","gists_url":"https://api.github.com/users/cakehurstryan/gists{/gist_id}","starred_url":"https://api.github.com/users/cakehurstryan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cakehurstryan/subscriptions","organizations_url":"https://api.github.com/users/cakehurstryan/orgs","repos_url":"https://api.github.com/users/cakehurstryan/repos","events_url":"https://api.github.com/users/cakehurstryan/events{/privacy}","received_events_url":"https://api.github.com/users/cakehurstryan/received_events","type":"User","site_admin":false},"labels":[{"id":977096304,"node_id":"MDU6TGFiZWw5NzcwOTYzMDQ=","url":"https://api.github.com/repos/ScottLogic/data-engineering-generator/labels/bug","name":"bug","color":"d73a4a","default":true},{"id":1161267503,"node_id":"MDU6TGFiZWwxMTYxMjY3NTAz","url":"https://api.github.com/repos/ScottLogic/data-engineering-generator/labels/reviewed","name":"reviewed","color":"efd913","default":false}],"state":"open","locked":false,"assignee":{"login":"sl-slaing","id":44162572,"node_id":"MDQ6VXNlcjQ0MTYyNTcy","avatar_url":"https://avatars3.githubusercontent.com/u/44162572?v=4","gravatar_id":"","url":"https://api.github.com/users/sl-slaing","html_url":"https://github.com/sl-slaing","followers_url":"https://api.github.com/users/sl-slaing/followers","following_url":"https://api.github.com/users/sl-slaing/following{/other_user}","gists_url":"https://api.github.com/users/sl-slaing/gists{/gist_id}","starred_url":"https://api.github.com/users/sl-slaing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sl-slaing/subscriptions","organizations_url":"https://api.github.com/users/sl-slaing/orgs","repos_url":"https://api.github.com/users/sl-slaing/repos","events_url":"https://api.github.com/users/sl-slaing/events{/privacy}","received_events_url":"https://api.github.com/users/sl-slaing/received_events","type":"User","site_admin":false},"assignees":[{"login":"sl-slaing","id":44162572,"node_id":"MDQ6VXNlcjQ0MTYyNTcy","avatar_url":"https://avatars3.githubusercontent.com/u/44162572?v=4","gravatar_id":"","url":"https://api.github.com/users/sl-slaing","html_url":"https://github.com/sl-slaing","followers_url":"https://api.github.com/users/sl-slaing/followers","following_url":"https://api.github.com/users/sl-slaing/following{/other_user}","gists_url":"https://api.github.com/users/sl-slaing/gists{/gist_id}","starred_url":"https://api.github.com/users/sl-slaing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sl-slaing/subscriptions","organizations_url":"https://api.github.com/users/sl-slaing/orgs","repos_url":"https://api.github.com/users/sl-slaing/repos","events_url":"https://api.github.com/users/sl-slaing/events{/privacy}","received_events_url":"https://api.github.com/users/sl-slaing/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2018-11-13T17:24:28Z","updated_at":"2018-12-20T11:15:58Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"## Bug Report\r\nThe test expects a value of 2018-10-10 but an error message on running the test says that no item matches 2018-10-10. This is the value of the Before or At so it appears that the generator is not creating the At value (which is expected to behave as an equal to).\r\n\r\n> Scenario: User requires to create a temporal field with date (YYYY-MM-DD) values within a given month that are less than or the same as a specified date\r\n>      Given there is a field foo\r\n>        And foo is before or at 2018-10-10T00:00:00.000\r\n>        And foo is after 2018-10-01T00:00:00.000\r\n>        And foo is anything but null\r\n>        And foo is of type \"temporal\"\r\n>        And foo is formatted as \"%tF\"\r\n>      Then the following data should be generated:\r\n>        | foo          |\r\n>        | \"2018-10-01\" |\r\n>        | \"2018-10-02\" |\r\n>        | \"2018-10-03\" |\r\n>        | \"2018-10-04\" |\r\n>        | \"2018-10-05\" |\r\n>        | \"2018-10-06\" |\r\n>        | \"2018-10-07\" |\r\n>        | \"2018-10-08\" |\r\n>        | \"2018-10-09\" |\r\n>        | \"2018-10-10\" |\r\n\r\n### Steps to Reproduce:\r\n1. Run feature file BeforeOrAt.feature\r\n2. See failed Tests include **Scenario: User requires to create a temporal field with date (YYYY-MM-DD) values within a given month that are less than or the same as a specified date**\r\n3. Open error report for failing scenario to see that the expected value of 2018-10-10 is not matched.\r\n\r\n### Expected Result:\r\nThe expected value of 2018-10-10 is created by the data generator and matched against, passing the scenario.\r\n\r\n### Actual Result:\r\nError message shows that 2018-10-10 is created but not matched against.\r\n\r\n> java.lang.AssertionError: \r\n> Expected: iterable with items [<[2018-10-01]>, <[2018-10-02]>, <[2018-10-03]>, <[2018-10-04]>, <[2018-10-05]>, <[2018-10-06]>, <[2018-10-07]>, <[2018-10-08]>, <[2018-10-09]>, <[2018-10-10]>] in any order\r\n>      but: no item matches: <[2018-10-10]> in [<[2018-10-01]>, <[2018-10-02]>, <[2018-10-03]>, <[2018-10-04]>, <[2018-10-05]>, <[2018-10-06]>, <[2018-10-07]>, <[2018-10-08]>, <[2018-10-09]>]\r\n> \tat org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)\r\n> \tat org.junit.Assert.assertThat(Assert.java:956)\r\n> \tat org.junit.Assert.assertThat(Assert.java:923)\r\n> \tat com.scottlogic.deg.generator.cucumber.steps.GeneralTestStep.theFollowingDataShouldBeGenerated(GeneralTestStep.java:92)\r\n> \tat ✽.the following data should be generated:(C:/DataGenerator/data-engineering-generator/generator/src/test/java/com/scottlogic/deg/generator/cucumber/BeforeOrAt.feature:13)\r\n\r\n### Environment:\r\nMaster Branch running on IntelliJ. Run on full data generation strategy.\r\n\r\n### Additional Context:\r\n![image](https://user-images.githubusercontent.com/43746958/48431162-ef2b2f80-e768-11e8-970a-d377d9c11760.png)"},"comment":{"url":"https://api.github.com/repos/ScottLogic/data-engineering-generator/issues/comments/448961803","html_url":"https://github.com/ScottLogic/data-engineering-generator/issues/191#issuecomment-448961803","issue_url":"https://api.github.com/repos/ScottLogic/data-engineering-generator/issues/191","id":448961803,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODk2MTgwMw==","user":{"login":"tyankovasc","id":45359400,"node_id":"MDQ6VXNlcjQ1MzU5NDAw","avatar_url":"https://avatars1.githubusercontent.com/u/45359400?v=4","gravatar_id":"","url":"https://api.github.com/users/tyankovasc","html_url":"https://github.com/tyankovasc","followers_url":"https://api.github.com/users/tyankovasc/followers","following_url":"https://api.github.com/users/tyankovasc/following{/other_user}","gists_url":"https://api.github.com/users/tyankovasc/gists{/gist_id}","starred_url":"https://api.github.com/users/tyankovasc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyankovasc/subscriptions","organizations_url":"https://api.github.com/users/tyankovasc/orgs","repos_url":"https://api.github.com/users/tyankovasc/repos","events_url":"https://api.github.com/users/tyankovasc/events{/privacy}","received_events_url":"https://api.github.com/users/tyankovasc/received_events","type":"User","site_admin":false},"created_at":"2018-12-20T11:15:58Z","updated_at":"2018-12-20T11:15:58Z","author_association":"CONTRIBUTOR","body":"Priority: *Medium* - can be resolved by way of implementing granularity and requiring it for temporal constraints."}}
{"actor":{"display_login":"tyankovasc"}}