Just riding on the BDD wave for the past 2 days.. I was intrigued with Aslak Hellesoy's InfoQ video on RSpec. Specifically with the language agnostic integration testing framework claims.. SO I was looking at testing a .Net app with Cucumber which seems to be the latest avatar of the BDD story runner.
Followed the examples on cukes.info and the wiki pages to do this. Installed IronRuby too..
However the end-result was different in that I get a huge stacktrace.
Posted a comment on the IronRuby Issue Tracking page for the bug
If anyone has worked around this or knows whats up... please leave a response. Thanks.
I spent yesterday working with IronRuby and Cucmber. I don't have a solution to your codeplex ticket, but here's what worked for me.
I used IronRuby 0.9 in c:\ironruby and with ir built from DLR change set 27223 (I have those two on my machine).
I added c:\ironruby\bin to my path, so cucumber.bat can find ir.exe.
I used igem install rspec followed by igem install cucumber
I had to steal rubygem files from my ruby install and put them in my source files to bring rubygems up from 1.2 to > 1.3. igem update --system didn't want to work for me.
I then forced an install of hoe (which had been failing) igem install hoe
At that point, I wrote a cucumber feature, had the step definitions look at White.Core.dll to exercise my app under test, and ran c:\ironruby\lib\ironruby\gems\1.8\bin\cucumber --no-color features with success on XP SP3. The --no-color flag is important, or you'll get terminal codes all over the screen.
I avoid the shared gems model if at all possible. I got confused when I tried that, so I went with what seemed easiest. It's worked for me since 0.6.
JFYI - Got this working after a bit of thrashing about with cryptic errors. Although this is supposed to be fixed in the next release as per the IronRuby developers, Posting my steps to get this working as of today with the 0.9 release
http://madcoderspeak.blogspot.com/2009/09/testing-net-code-with-cucumber-and.html
Related
For a university project, I am trying to find a not so cumbersome way to effectively modify certain applications from the official Debian repository, such as eog. I want to clarify that I am unfamiliar with Linux and GTK. My idea was to be able to work comfortably in terms of finding variable and function definitions, trying step by step debugging while getting used to gtk+ and the application's source code. I tried to understand the code while working from the terminal, but in my opinion, it was a pain i* t** a**.
So far, I managed to install the application's build dependencies with
sudo apt build-dep eog
and I received the source-code with
apt-get source eog
After I installed eclipse, I tried to get gtk+ running with the minimum example from the gtk+ reference manual. I found a very useful easy explanation here. It's the answer from Wed, 04 November 2015 12:51.No problem so far. So in theory, I should be able to write GTK+ applications in Eclipse. But when I am trying to make a new project and include eog's .src and .h files, I am running into a mass of unresolved inclusions, missing header files, undefined references etc...
So I wanted to ask: Did anybody work on similar tasks and can provide some help? Or: Does anyone have a better idea maybe?
If anybody should come across this ever again: I found an alternative solution: When you download the source-files of eog, you will come across the meson-build system. Eclipse supports C meson-build projects. I just copied all downloaded source files into the meson-build project in eclipse in could compile it right away.
Does anyone have a guide on setting up AHBot in an AzerothCore 3.3.5 server? I can find no mention of ahbot in the world.conf and no DB tables like auctionhousebot in the database or any references. It is included in TrinityCore so all the google references that I find point me back there.
Our server is just two of us and it would be nice to have some items on the auction house. At the moment, if you need a silver bar you have to go out in the world and find it. That was exciting the first couple of times... but gets old.
I followed the guide to install off github: https://www.azerothcore.org/wiki/Installation and am using the latest release under Ubuntu linux.
Thank you for any help. You are my last hope...
AHBot is not currently an 'official' supported module of AzerothCore (which would be why you aren't finding any settings in the worldserver or anywhere else regarding it).
There is a module in development that isn't currently part of the AC list, but I've gotten it working on my personal server: https://github.com/AyaseCore/mod-ahbot Note that this is a bit different than a normal module as there is also a git patch that needs to be applied manually.
Theres a module in azerothCore repository you have to apply patch manually but it wont compile on Win x64 and unix x64 comes up with an error about 9 arguments, but seems to compile for some
I want to use Cppcheck's XML report for SonarQube.
https://github.com/SonarOpenCommunity/sonar-cxx/wiki/Code-checkers
But on Cppcheck's official site, I did not find any help with the installation on a Linux server.
Has somebody any working solution for this?
Edit:
I like how the sonarqube tag disappeared, thank you #G. And again, for the constant "support". How convenient just to remove it, instead of helping, or letting someone to help who had these issues as well. Unrelated to the question, yes.
Then guess what: My boss wanted to demo this tool, but certainly told him now not to buy the commercial edition. Everything is unrelated with everything. Good marketing for 2017.
As far as I know, there are no Cppcheck packages built for Linux. However, you may easily clone the Cppcheck repository from GitHub (https://github.com/danmar/cppcheck) and build it yourself. It has no extra dependencies and therefore is easy to build:
cd cppcheck-master
make
Also, I'm not sure about integrating Cppcheck with SonarQube, but there's a detailed article about SonarQube configuration, probably you may find something useful there: https://www.viva64.com/en/m/0037/
I am trying to learn and build my own version of mozilla with customizations. But I have no idea where to start and how to proceed. Can someone enlighten me in the following aspects:
1.Where to clone the latest open source code for mozilla
2.Where to learn the browser architecture and file structure(For linux/Ubuntu) So that I can customize the codes and add my own custom
addons.
3.How to debug and build the browser for Linux.
I heard its purely HTML,CSS and javascript. I have a low level expertise in all of this but no idea where to put together all of these. Please enlighten me with any resources. Basically I need a kickstart. Googling didn't gives me any such basic tutorials. I hope someone here would have tried these things before :) Any help is much appreciated.
There's a very handy guide on how to build Mozilla Firefox on MDN. Here's an outline of the steps:
Install the build prerequisite for Linux as described here - wget -q https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py -O bootstrap.py && python bootstrap.py
Clone the repository locally using mercurial - hg clone https://hg.mozilla.org/mozilla-central
Change the current working directory to mozilla-central and then issue the ./mach build command. This will produce a vanilla version of Firefox, unbranded (aka developer build).
Once building is complete, you can run your copy using ./mach build or package it using ./mach package.
In order to customize your build, you need to both change the code and the building options. The latter can be done by creating a .mozconfig file in the mozilla-central directory and adding the desired build options there.
Where to learn the browser architecture and file structure(For
linux/Ubuntu) So that I can customize the codes and add my own custom
addons.
To understand a bit more about the structure of the Firefox source code, you can have a look at this nice overview. Basically, each top directory represents a component of the browser (e.g. dom, browser, toolkit, ...). Depending on what you need, you have to change the code in the related directory. When you're lost and trying to find what to change, DXR can come to the rescue: it's the official Mozilla code search engine.
You mentioned addons: I'm not sure what's your objective, but if you just need to develop an addon, then you don't really need to build Firefox from scratch. There's a lot of documentation about how to create addons, if needed.
How to debug and build the browser for Linux.
The first part of this answers explains how to build. In order to debug, once you've built Firefox, simply run it with the command ./mach run --debugger. This will allow you to debug the C++ core of Firefox. However, for most of the front end code (which lives in browser/*), that's not needed: you can simply run Firefox and use the Browser Toolbox.
**Ok so I've been taking some courses on codecademy on coding and programming and wanted to start a project to test out some of what I've learned. I want to build a Instant Messenger Chat app for phones and after much research I've decided to use AppGyver to build my mobile app.
On the forum I asked what to use and someone informed me that Composer is pretty easy because of the drag option and other stuff but that started frustrating me, there are no good tutorials that show me what everything does on there, esp for what I wanted my app to look like (plus I don't have an Apple smartphone or anything like that so that scanner thing was unnecessary) so since I am familiar with HTML from codecademy I decided to try my luck with that, there are more tuts on that (video of course) and I'm having issues. I went through the steps on the website and everytime I got to the step that asks for me to post this in Node.js
-- npm install steroids -g --
I get a message that keeps saying the same thing--that Python is installed just fine but the error is command 'git' not found. What did I do wrong?
Also I can't seem to locate a repository for Git GUI, I'm not sure what I'm supposed to do there either. Could I get some help as to what my problem is? Thank You in advance.**
I assume you've used the install wizard on the site? It has comprehensive instructions for installing git, which is required for the npm install to work. If you are using Windows, remember to check the "use Git from Windows Command Prompt" checkbox when running the Git installer, after which restart your terminal window and continue with the guide. For further assistance, you should turn to the AppGyver forums.