bluejay - integration/application test runner
Bluejay is an application test runner, allowing easy writing of cross- platform tests. Bluejay uses Lua (via LuaD) with a small test library and is on the dub registry at http://code.dlang.org/packages/bluejay I also converted the first 37 test cases of DCD[1] to try it out - so those tests can now be run on Windows (note that the original scripts only restart dcd-server when it crashes; my tests start and stop it for each test case so it's much slower). A couple of examples: ``` #!/usr/bin/env bluejay local ret = Test:run("echo", "asdf") -- We don't care about the whitespace, which is system-dependent. assert(Util:strip(ret.Output) == "asdf") assert(ret.ReturnCode == 0) -- Or if we do care, we can also make the assertion based on the host -- operating system. if (System.OS == "Windows") then assert(ret.Output == "asdf\r\n") else assert(ret.Output == "asdf\n") end ``` ``` #!/usr/bin/env bluejay -- The cleanup function, if defined, will run regardless of test success, -- failure, or error. function cleanup() print('Cleanup tasks go here.') end dofile('mytestfunctions.lua') doTestSetup() -- Assuming this is in mytestfunctions.lua local tests = {'arg1', 'arg2', 'arg3'} local returns = {'out1', 'out2', 'out3'} for i, t in ipairs(tests) do local ret = Test:run('myapplication', '--someflag ' .. t) assert(ret.Output == returns[i], 'Test number ' .. i .. ' failed.') end ``` [1]: https://github.com/rjframe/DCD
Re: On Tilix and D: An Interview with Gerald Nunn
On Friday, 11 August 2017 at 12:57:10 UTC, Mike Parker wrote: Joakim has put together a wonderful interview with Gerald Nunn, the maintainer of Tilix. Gerald talks about Tilix and his experience using D. It's a fun read that expands on the talk he gave at DConf this year. [...] By coincidence, it looks like Tilix also made the front page of HN yesterday, no mention of D in the discussion there though: https://hn.algolia.com/?query=tilix
Re: On Tilix and D: An Interview with Gerald Nunn
So yeah reminder on the terminal emulator thing, if anyone who knows gtk wants to try to wrap my emulator in it.. it should be pretty easy. I have done a terminal.d frontend and a simpledisplay.d frontend and it isn't that hard. I just don't know gtk.
On Tilix and D: An Interview with Gerald Nunn
Joakim has put together a wonderful interview with Gerald Nunn, the maintainer of Tilix. Gerald talks about Tilix and his experience using D. It's a fun read that expands on the talk he gave at DConf this year. With this post, I've also taken the opportunity to create a new site for extended blog posts at dblog-ext.info. Be sure to follow the editorial link in the post if you'd like to read more about Gerald's background. This is something I'm maintaining on my own to host interesting content that I (painfully!) have to cut from blog posts to keep within my editorial goals. In the future, I'll sometimes be asking guest posters to expand on material I need to cut so I can fill out a page at the new site. I'll also be adding a link to it in the sidebar of the blog once I've got more content there. Thanks to Joakim and Gerald for taking the time to bring us this interview! Blog: https://dlang.org/blog/2017/08/11/on-tilix-and-d-an-interview-with-gerald-nunn/ Reddit: https://www.reddit.com/r/programming/comments/6t0wv0/on_tilix_and_d_an_interview_with_gerald_nunn/
Re: DIP 1011-extern(delegate)--Formal Review Begins
On Friday, 11 August 2017 at 10:46:43 UTC, Mike Parker wrote: The formal review feedback period for DIP 1011, 'extern(delegate)', is now underway. http://forum.dlang.org/post/eriumcjifxcbdvtya...@forum.dlang.org After reading the whole proposal with fresh mind, I wonder how often will extern(delegate) be needed in real-world usage? (!YAGNI ?) (Often is not the sole determinant of relevance though)
DIP 1011-extern(delegate)--Formal Review Begins
The formal review feedback period for DIP 1011, 'extern(delegate)', is now underway. http://forum.dlang.org/post/eriumcjifxcbdvtya...@forum.dlang.org
Re: I'm the new package maintainer for D on ArchLinux
On Wednesday, 9 August 2017 at 20:42:48 UTC, Wild wrote: Hi everyone, The D packages for ArchLinux has been orphaned since Dicebot stepped down as the maintainer and no one else stepped up. So I decided to step up and apply to become a Trusted User, and I got accepted yesterday[1]. So from now on I will be the one who maintains all the D packages (in the [community] repo), and it will be my job to fix them if they break. [...] Awesome, thanks! Voted for all 4 packages on the AUR. Atila
Re: Beta D 2.075.1
On Thursday, 10 August 2017 at 20:18:50 UTC, Walter Bright wrote: On 8/8/2017 1:32 PM, Martin Nowak wrote: On Tuesday, 8 August 2017 at 15:45:45 UTC, Vladimir Panteleev wrote: On Tuesday, 8 August 2017 at 14:57:58 UTC, Daniel Kozak wrote: https://issues.dlang.org/show_bug.cgi?id=17731 Thanks. I've submitted a fix. Thanks, considering https://issues.dlang.org/show_bug.cgi?id=17569 I'd still say we should evaluate whether we want to continue maintaining and shipping a tool with unclear usefulness and userbase. Just rename it to dmanual. I've been wondering what dman was. I though it literally D Man. dmanual is the obvious name it should have.