Skip to content

Added failing test cases for void scripts with a dynamic receiver.#169

Merged
tmat merged 2 commits intodotnet:masterfrom
tenor:patch-1
May 3, 2015
Merged

Added failing test cases for void scripts with a dynamic receiver.#169
tmat merged 2 commits intodotnet:masterfrom
tenor:patch-1

Conversation

@tenor
Copy link
Contributor

@tenor tenor commented Jan 29, 2015

Scripts with a void return value throw exception when the receiver is dynamic.

Running the added test cases will fail with a "Cannot implicitly convert type 'void' to 'object'" exception.

Added failing test cases for void scripts with a dynamic receiver.
@jasonmalinowski
Copy link
Member

Just to check -- these tests fail because of a current bug in the code? We like to keep tests "green", so if they're expected to fail mark them with [Fact(Skip = "Bug ####")] where #### is the number of a GitHub issue. That way whoever is fixing the bug can find the tests and enable them when they fix it.

@tenor
Copy link
Contributor Author

tenor commented Feb 5, 2015

@jasonmalinowski , yes they are failing due to a bug in the code.
I've updated the PR with [Fact(Skip = "Bug 170")].

@ManishJayaswal ManishJayaswal self-assigned this Feb 11, 2015
@gafter
Copy link
Member

gafter commented Mar 18, 2015

@ManishJayaswal This pull request is very old. If we're not planning to pull it, can you please close it?

@ghost
Copy link

ghost commented May 3, 2015

I think it will encourage potential contributors if dotnet team start reacting to pull requests rather quickly.
For example, this PR is almost 100 days old with no good reason to stall.. The issues are piling up by day:

714 opened issues
48 opened pull requests

tmat added a commit that referenced this pull request May 3, 2015
Added failing test cases for void scripts with a dynamic receiver.
@tmat tmat merged commit 8b1d427 into dotnet:master May 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants