Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

What steps are necessary to get NCrunch work with more exotic CLR languages?
liviuu
#1 Posted : Tuesday, September 6, 2011 1:02:28 PM(UTC)
Rank: Member

Groups: Registered
Joined: 9/6/2011(UTC)
Posts: 11
Location: liviuu

Was thanked: 1 time(s) in 1 post(s)
HI,

From presentation NCrunch features seems excellent.
What steps are necessary to get NCrunch work with more exotic CLR languages?
For example: Nemerle or IronRuby, IronPython etc...


Regards
Remco
#2 Posted : Tuesday, September 6, 2011 6:54:56 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
In theory, if the language supports MSBuild alongside .PDB output and doesn't do anything too crazy, then it should be possible for it to work with NCrunch.

The list of supported languages on the front page of this site is actually only the languages that have been properly tested and I can be certain NCrunch will support.

It may very well work with the more exotic languages out-of-the-box. If you have a strong urge to get NCrunch working for a particular language, I recommend giving it a try and sharing your experiences.
liviuu
#3 Posted : Tuesday, September 6, 2011 7:27:45 PM(UTC)
Rank: Member

Groups: Registered
Joined: 9/6/2011(UTC)
Posts: 11
Location: liviuu

Was thanked: 1 time(s) in 1 post(s)
but, how about code editor decorations?
will they work with any language service?
liviuu
#4 Posted : Tuesday, September 6, 2011 7:32:55 PM(UTC)
Rank: Member

Groups: Registered
Joined: 9/6/2011(UTC)
Posts: 11
Location: liviuu

Was thanked: 1 time(s) in 1 post(s)
I tesyed using Nemerle, and ncrunch does not detect test methods and does not show bullets.
i am using nemerle with vs2010 integration built from github.
it is an exotic language but is there for the clr....
liviuu
#5 Posted : Tuesday, September 6, 2011 7:34:10 PM(UTC)
Rank: Member

Groups: Registered
Joined: 9/6/2011(UTC)
Posts: 11
Location: liviuu

Was thanked: 1 time(s) in 1 post(s)
It seems that building tests with nemerle and ncrunch fails with :

NCrunch: If you are experiencing problems in getting this project to build, have a look at https://www.ncrunch.net/...ng_project-build-issues

(0): System.ArgumentOutOfRangeException: Non-negative number required.
Parameter name: srcOffset
at System.Buffer.BlockCopy(Array src, Int32 srcOffset, Array dst, Int32 dstOffset, Int32 count)
at Mono.Cecil.PE.Image.GetDebugHeader(Byte[]& header)
at Mono.Cecil.ModuleDefinition.ProcessDebugHeader()
at Mono.Cecil.ModuleDefinition.ReadSymbols(ISymbolReader reader)
at nCrunch.Compiler.ILManipulator.ProcessAssembly(String compiledAssemblyFilePath, Boolean instrumentAssembly, IList`1 referencedAssemblies)
at nCrunch.Compiler.RemoteBuildRunner.#=qX56mtP8NEuUXVDSxD4u_yBa0h9Kphx3hJYjFhXON6l8=(ComponentBuildParameters #=qqQXdliE3cs0Z6h4cY7al$g==, String #=qlSVtuKf9XqFFVEauMfzen2rSebF6xoQ80xjfTGfL_5k=, BuildOutput #=quakya0vsA6xNTpFlaTsKcg==, String #=q0WMk_oyyqB84ymhAED64QwQMMcfEx_iwqSh50U8TI54=)
at nCrunch.Compiler.RemoteBuildRunner.Build(ComponentBuildParameters parameters)

Remco
#6 Posted : Tuesday, September 6, 2011 8:08:39 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
Ok - looks like the library NCrunch is using for instrumentation doesn't recognise the assembly output from the exotic compiler.

There probably isn't much I can do about this in the short term. Still, if this is an open source solution, would you be able to leave me a link to it? I'd like to keep a note to look into it later if I get the chance.


Cheers,

Remco
liviuu
#7 Posted : Tuesday, September 6, 2011 8:11:36 PM(UTC)
Rank: Member

Groups: Registered
Joined: 9/6/2011(UTC)
Posts: 11
Location: liviuu

Was thanked: 1 time(s) in 1 post(s)
Hi,

Location https://github.com/rsdn/nemerle

I hope you will have a little time to dwelve into it ;)

Regards

1 user thanked liviuu for this useful post.
Remco on 9/6/2011(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.230 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download